From: Jan Beulich Date: Mon, 11 Mar 2013 09:39:55 +0000 (+0000) Subject: xen-blkback: fix dispatch_rw_block_io() error path X-Git-Tag: v3.2.43~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49b202a2e31cd792c127c9a306947e101f7300d9;p=pandora-kernel.git xen-blkback: fix dispatch_rw_block_io() error path commit 0e5e098ac22dae38f957e951b70d3cf73beff0f7 upstream. Commit 7708992 ("xen/blkback: Seperate the bio allocation and the bio submission") consolidated the pendcnt updates to just a single write, neglecting the fact that the error path relied on it getting set to 1 up front (such that the decrement in __end_block_io_op() would actually drop the count to zero, triggering the necessary cleanup actions). Also remove a misleading and a stale (after said commit) comment. Signed-off-by: Jan Beulich Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed