drbd: don't BUG_ON, if bio_add_page of a single page to an empty bio fails
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 24 Jan 2011 13:47:09 +0000 (14:47 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:48:10 +0000 (11:48 +0100)
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>

No differences found