aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/tests/btrfs-tests.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-04-04 12:04:04 +0100
committerDavid Sterba <dsterba@suse.com>2025-05-15 14:30:44 +0200
commit20612db4628d96ed0ca037d8b9cecd44d86270ed (patch)
treee32007b7792f75c571f74d740e0dba3ac025297b /fs/btrfs/tests/btrfs-tests.c
parentbtrfs: rename the functions to get inode and fs_info from an extent io tree (diff)
downloadwireguard-linux-20612db4628d96ed0ca037d8b9cecd44d86270ed.tar.xz
wireguard-linux-20612db4628d96ed0ca037d8b9cecd44d86270ed.zip
btrfs: directly grab inode at __btrfs_debug_check_extent_io_range()
We've tested that we are dealing with io tree that is associated to an inode (its owner is IO_TREE_INODE_IO), so there's no need to call btrfs_extent_io_tree_to_inode() in a separate line and we just assign tree->inode to the local inode variable when we declare it. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/btrfs-tests.c')
0 files changed, 0 insertions, 0 deletions