diff options
| author | 2025-06-20 16:58:48 +0100 | |
|---|---|---|
| committer | 2025-07-21 23:58:04 +0200 | |
| commit | 98060e1611177ddc842601a58258876ab435fdbf (patch) | |
| tree | 872cb2c803eb1767f3fc803e14a4ad94504b2410 /fs/btrfs/tree-log.c | |
| parent | btrfs: use inode already stored in local variable at btrfs_rmdir() (diff) | |
| download | wireguard-linux-98060e1611177ddc842601a58258876ab435fdbf.tar.xz wireguard-linux-98060e1611177ddc842601a58258876ab435fdbf.zip | |
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
