From: Lars Ellenberg Date: Mon, 24 Jan 2011 13:47:09 +0000 (+0100) Subject: drbd: don't BUG_ON, if bio_add_page of a single page to an empty bio fails X-Git-Tag: v2.6.39-rc1~37^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10f6d9926cd17afff9dc03c967706419798b4929;p=pandora-kernel.git 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 Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed