]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: stop clearing EXTENT_DIRTY in inode I/O tree
authorOmar Sandoval <osandov@fb.com>
Thu, 15 Aug 2019 21:04:04 +0000 (14:04 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:17 +0000 (14:59 +0200)
commite182163d9cbe86bc0f754068628df55e6dc073d3
tree3e90923bea522e6fbae6b10c7e3b5b060eea72fd
parentf50cb7aff9645998b3269eac903a5e01cd6ba689
btrfs: stop clearing EXTENT_DIRTY in inode I/O tree

Since commit fee187d9d9dd ("Btrfs: do not set EXTENT_DIRTY along with
EXTENT_DELALLOC"), we never set EXTENT_DIRTY in inode->io_tree, so we
can simplify and stop trying to clear it.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/file.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/tests/inode-tests.c