aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2024-05-01 20:09:05 +0900
committerJens Axboe <[email protected]>2024-05-01 08:08:43 -0600
commitb5a64ec2ea2be2a7f7eb73c243c2381e9fc1c71b (patch)
tree0f943b22d27ecc0b205c464d585377fd4f2c8ca5 /rust/helpers/helpers.c
parent347bde9da10f410b8134a82d6096105cad44e1c1 (diff)
block: Simplify blk_zone_write_plug_bio_endio()
We already have the disk variable obtained from the bio when calling disk_get_zone_wplug(). So use that variable instead of dereferencing the bio bdev again for the disk argument of disk_get_zone_wplug(). Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions