diff options
author | Christoph Hellwig <hch@lst.de> | 2023-07-24 09:54:33 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-07-24 19:55:16 -0600 |
commit | ae42f0b3bf65912e122fc2e8d5f6d94b51156dba (patch) | |
tree | 66a74312f928da188fb32e1b6f699a8e5549bba0 /mm/kmemleak.c | |
parent | 858c708d9efb7e8e5c6320793b778cc17cf8368a (diff) |
block: don't pass a bio to bio_try_merge_hw_seg
There is no good reason to pass the bio to bio_try_merge_hw_seg. Just
pass the current bvec and rename the function to bvec_try_merge_hw_page.
This will allow reusing this function for supporting multi-page integrity
payload bvecs.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jinyoung Choi <j-young.choi@samsung.com>
Link: https://lore.kernel.org/r/20230724165433.117645-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions