]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove is_data_inode() checks in extent-io-tree.c
authorJosef Bacik <josef@toxicpanda.com>
Fri, 9 Sep 2022 21:53:49 +0000 (17:53 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:05 +0000 (12:28 +0200)
commita2dce721a4558cf8dfbf3a745a2f50d6bbea82cd
tree138002b8e8637299cc6558a24a49e7b149e1d65a
parent12bd645c618518898eb24867810013c32907eb5b
btrfs: remove is_data_inode() checks in extent-io-tree.c

We're only initializing extent_io_tree's with a private data if we're a
normal inode, so we don't need this extra check.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-io-tree.c