aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-01-24 09:11:07 +0000
committerJens Axboe <[email protected]>2022-02-02 14:50:00 +0000
commita7c50c940477bae89fb2b4f51bd969a2d95d7512 (patch)
tree23d5c1747a3e31bf57247e999e9305eae164e7ba /fs/fs-writeback.c
parentblock: pass a block_device and opf to bio_init (diff)
downloadkernel-a7c50c940477bae89fb2b4f51bd969a2d95d7512.tar.gz
kernel-a7c50c940477bae89fb2b4f51bd969a2d95d7512.zip
block: pass a block_device and opf to bio_reset
Pass the block_device that we plan to use this bio for and the operation to bio_reset to optimize the assigment. A NULL block_device can be passed, both for the passthrough case on a raw request_queue and to temporarily avoid refactoring some nasty code. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions