aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2025-05-01 11:54:03 +0000
committerDavid Sterba <[email protected]>2025-05-15 12:30:54 +0000
commitc5d12d5b621258eb07f4106dc9196affed1c22d0 (patch)
tree972aed4b78f94c89d801379d5d3058f67345bb64 /fs/btrfs/delayed-inode.c
parentbtrfs: simplify cow only root list extraction during transaction commit (diff)
downloadkernel-c5d12d5b621258eb07f4106dc9196affed1c22d0.tar.gz
kernel-c5d12d5b621258eb07f4106dc9196affed1c22d0.zip
btrfs: raid56: use list_last_entry() at cache_rbio()
Instead of using list_entry() against the list's prev entry, use list_last_entry(), which removes the need to know the last member is accessed through the prev list pointer and the naming makes it easier to reason about what we are doing. Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Johannes Thumshirn <[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/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions