commit | 10f6d9926cd17afff9dc03c967706419798b4929 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Mon Jan 24 14:47:09 2011 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Mar 10 11:48:10 2011 +0100 |
tree | 7b1cd4bfcffbb3832c756ce29861411f7300aadd | |
parent | 039312b6481e2928f3be19fee94c83327d93e4c7 [diff] |
drbd: don't BUG_ON, if bio_add_page of a single page to an empty bio fails Just deal with it more gracefully, if we fail to add even a single page to an empty bio. We used to BUG_ON() there, but it has been observed in some Xen deployment, so we need to handle that case more robustly now. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>