aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2025-06-20 15:58:48 +0000
committerDavid Sterba <[email protected]>2025-07-21 21:58:04 +0000
commit98060e1611177ddc842601a58258876ab435fdbf (patch)
tree872cb2c803eb1767f3fc803e14a4ad94504b2410 /fs/btrfs/tree-log.c
parentbtrfs: use inode already stored in local variable at btrfs_rmdir() (diff)
downloadkernel-98060e1611177ddc842601a58258876ab435fdbf.tar.gz
kernel-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 <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions