summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.package
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-07-24 18:54:31 +0200
committerJens Axboe <axboe@kernel.dk>2023-07-25 03:55:16 +0200
commit80232b520314214d846eb0a65faef8b51b702fa7 (patch)
tree2885d7020b3fb252ee17ea1df0298b0a8f79a1cb /scripts/Makefile.package
parentblock: move the bi_size overflow check in __bio_try_merge_page (diff)
downloadlinux-80232b520314214d846eb0a65faef8b51b702fa7.tar.xz
linux-80232b520314214d846eb0a65faef8b51b702fa7.zip
block: downgrade a bio_full call in bio_add_page
bio_add_page already checks that there is space in bi_size a little earlier. So after we failed to add to an existing segment, just check that there is another one available instead of duplicating the bi_size check. 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-7-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.package')
0 files changed, 0 insertions, 0 deletions