aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_sysfs.c
diff options
context:
space:
mode:
authorKeith Busch2022-07-12 08:32:54 -0700
committerJens Axboe2022-08-02 21:08:54 -0600
commit325347d965e7ccf5424a05398807a6d801846612 (patch)
tree1c400bac93f02d0333993814ab6f3c3405317950 /fs/xfs/xfs_sysfs.c
parent104212471b1c1817b311771d817fb692af983173 (diff)
block: ensure iov_iter advances for added pages
There are cases where a bio may not accept additional pages, and the iov needs to advance to the last data length that was accepted. The zone append used to handle this correctly, but was inadvertently broken when the setup was made common with the normal r/w case. Fixes: 576ed9135489c ("block: use bio_add_page in bio_iov_iter_get_pages") Fixes: c58c0074c54c2 ("block/bio: remove duplicate append pages code") Signed-off-by: Keith Busch <kbusch@kernel.org> Link: https://lore.kernel.org/r/20220712153256.2202024-1-kbusch@fb.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/xfs/xfs_sysfs.c')
0 files changed, 0 insertions, 0 deletions