aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2025-06-20 15:50:31 +0000
committerDavid Sterba <[email protected]>2025-07-21 21:58:04 +0000
commit9f82a4ed34d870b5719f9b95f7da4f74d3325a6f (patch)
tree89b54f6c9194d67063f6f0e4a1f4895317949561 /fs/btrfs/tree-log.c
parentbtrfs: use our message helpers instead of pr_err/pr_warn/pr_info (diff)
downloadkernel-9f82a4ed34d870b5719f9b95f7da4f74d3325a6f.tar.gz
kernel-9f82a4ed34d870b5719f9b95f7da4f74d3325a6f.zip
btrfs: use inode already stored in local variable at btrfs_rmdir()
There's no need to call d_inode(dentry) when calling btrfs_unlink_inode() since we have already stored that in a local inode variable. So just use the local variable to make the code less verbose. 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