commit | e2e115d18b76467274d8f818f8828ba168f9c80b | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Sep 23 16:16:06 2017 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Oct 11 17:23:38 2017 -0400 |
tree | 755fcb8bc56789ea6db0dc1316bdec8298cf1505 | |
parent | 629e42bcc3d0bc04b4e0e40ef3f831507a4693bd [diff] |
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>