diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-06-20 16:58:48 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:58:04 +0200 |
commit | 98060e1611177ddc842601a58258876ab435fdbf (patch) | |
tree | 872cb2c803eb1767f3fc803e14a4ad94504b2410 /fs/btrfs/tree-log.c | |
parent | 9f82a4ed34d870b5719f9b95f7da4f74d3325a6f (diff) |
btrfs: use btrfs inodes in btrfs_rmdir() to avoid so much usage of BTRFS_I()
Almost everywhere we want to use a btrfs inode and therefore we have a
lot of calls to BTRFS_I(), making the code more verbose. Instead use btrfs
inode local variables to avoid so much use of BTRFS_I().
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.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/tree-log.c')
0 files changed, 0 insertions, 0 deletions