diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-05-01 14:09:05 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-05-01 17:08:43 +0300 |
commit | b5a64ec2ea2be2a7f7eb73c243c2381e9fc1c71b (patch) | |
tree | 0f943b22d27ecc0b205c464d585377fd4f2c8ca5 /scripts/lib/kdoc/kdoc_output.py | |
parent | 347bde9da10f410b8134a82d6096105cad44e1c1 (diff) | |
download | linux-b5a64ec2ea2be2a7f7eb73c243c2381e9fc1c71b.tar.xz |
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 <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20240501110907.96950-13-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions