aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-09 17:53:44 -0400
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:28:05 +0200
commit4374d03d21a9577c8536d78a941fba105143769d (patch)
treeeef73c9922b2d764e7ce04d576fe051b88d9198b /fs/btrfs/inode.c
parentbtrfs: unify the lock/unlock extent variants (diff)
downloadlinux-dev-4374d03d21a9577c8536d78a941fba105143769d.tar.xz
linux-dev-4374d03d21a9577c8536d78a941fba105143769d.zip
btrfs: remove extent_io_tree::track_uptodate
Since commit 78361f64ff42 ("btrfs: remove unnecessary EXTENT_UPTODATE state in buffered I/O path") we no longer check ->track_uptodate, remove it. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 7519233b922f..c417bbc29986 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -8805,7 +8805,6 @@ struct inode *btrfs_alloc_inode(struct super_block *sb)
extent_io_tree_init(fs_info, &ei->file_extent_tree,
IO_TREE_INODE_FILE_EXTENT, inode);
ei->io_failure_tree = RB_ROOT;
- ei->io_tree.track_uptodate = true;
atomic_set(&ei->sync_writers, 0);
mutex_init(&ei->log_mutex);
btrfs_ordered_inode_tree_init(&ei->ordered_tree);