commit | 5037108acd4dc40c210321cc83b0bf8352eda95a | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Wed Oct 01 14:39:17 2008 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Wed Oct 01 14:39:17 2008 +0100 |
tree | 96b8684cd33eaee6dda5f07d598c93de36b1476a | |
parent | d3a47e82b6bc3724dd60f3ee4e84fe4479104382 [diff] |
dm: always allow one page in dm_merge_bvec Some callers assume they can always add at least one page to an empty bio, so dm_merge_bvec should not return 0 in this case: we'll reject the I/O later after the bio is submitted. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>