inode.c (7b4397386fbdc606eb053bc2a1cfd985aea59916) | inode.c (43eb5f2975848743e5b14c5bef20f40d404a7a04) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2007 Oracle. All rights reserved. 4 */ 5 6#include <linux/kernel.h> 7#include <linux/bio.h> 8#include <linux/buffer_head.h> --- 9168 unchanged lines hidden (view full) --- 9177 9178 ei->delayed_node = NULL; 9179 9180 ei->i_otime.tv_sec = 0; 9181 ei->i_otime.tv_nsec = 0; 9182 9183 inode = &ei->vfs_inode; 9184 extent_map_tree_init(&ei->extent_tree); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2007 Oracle. All rights reserved. 4 */ 5 6#include <linux/kernel.h> 7#include <linux/bio.h> 8#include <linux/buffer_head.h> --- 9168 unchanged lines hidden (view full) --- 9177 9178 ei->delayed_node = NULL; 9179 9180 ei->i_otime.tv_sec = 0; 9181 ei->i_otime.tv_nsec = 0; 9182 9183 inode = &ei->vfs_inode; 9184 extent_map_tree_init(&ei->extent_tree); |
9185 extent_io_tree_init(fs_info, &ei->io_tree, inode); 9186 extent_io_tree_init(fs_info, &ei->io_failure_tree, inode); | 9185 extent_io_tree_init(fs_info, &ei->io_tree, IO_TREE_INODE_IO, inode); 9186 extent_io_tree_init(fs_info, &ei->io_failure_tree, 9187 IO_TREE_INODE_IO_FAILURE, inode); |
9187 ei->io_tree.track_uptodate = true; 9188 ei->io_failure_tree.track_uptodate = true; 9189 atomic_set(&ei->sync_writers, 0); 9190 mutex_init(&ei->log_mutex); 9191 mutex_init(&ei->delalloc_mutex); 9192 btrfs_ordered_inode_tree_init(&ei->ordered_tree); 9193 INIT_LIST_HEAD(&ei->delalloc_inodes); 9194 INIT_LIST_HEAD(&ei->delayed_iput); --- 1715 unchanged lines hidden --- | 9188 ei->io_tree.track_uptodate = true; 9189 ei->io_failure_tree.track_uptodate = true; 9190 atomic_set(&ei->sync_writers, 0); 9191 mutex_init(&ei->log_mutex); 9192 mutex_init(&ei->delalloc_mutex); 9193 btrfs_ordered_inode_tree_init(&ei->ordered_tree); 9194 INIT_LIST_HEAD(&ei->delalloc_inodes); 9195 INIT_LIST_HEAD(&ei->delayed_iput); --- 1715 unchanged lines hidden --- |