mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
don't rely upon subsequent bio_add_pc_page() calls failing
... they might actually succeed in some cases (when we are at the queue-imposed segments limit, the next page is not mergable with the last one we'd got in, but the first page covered by the next iovec *is* mergable). Make sure that once it's failed, we are done with that bio. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
629e42bcc3
commit
e2e115d18b
1 changed files with 4 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue