aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-07-24 09:54:32 -0700
committerJens Axboe <[email protected]>2023-07-24 19:55:16 -0600
commit858c708d9efb7e8e5c6320793b778cc17cf8368a (patch)
treef463c73809917e735451096b6f891173d4740236 /net/lapb/lapb_subr.c
parent80232b520314214d846eb0a65faef8b51b702fa7 (diff)
block: move the bi_size update out of __bio_try_merge_page
The update of bi_size is the only thing in __bio_try_merge_page that needs a bio. Move it to the callers, and merge __bio_try_merge_page and page_is_mergeable into a single bvec_try_merge_page that only takes the current bvec instead of a full bio. This will allow reusing this function for supporting multi-page integrity payload bvecs. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Jinyoung Choi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions