aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2025-03-06 16:07:18 +0000
committerDavid Sterba <[email protected]>2025-03-18 19:35:50 +0000
commit9024b744e716819b0130673b9ae242e46b00b6cb (patch)
tree3684396be2bb1312276d06db7416401fc12d6331 /fs/btrfs/btrfs_inode.h
parentbtrfs: fix non-empty delayed iputs list on unmount due to async workers (diff)
downloadkernel-9024b744e716819b0130673b9ae242e46b00b6cb.tar.gz
kernel-9024b744e716819b0130673b9ae242e46b00b6cb.zip
btrfs: avoid unnecessary bio dereference at run_one_async_done()
We have dereferenced the async_submit_bio structure and extracted the bio pointer into a local variable, so there's no need to dereference it again when calling btrfs_bio_end_io(). Just use "bio->bi_status" instead of the longer expression "async->bbio->bio.bi_status". 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/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions