summaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkfront.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2013-03-11 09:39:55 +0000
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-03-18 16:31:22 -0400
commit0e5e098ac22dae38f957e951b70d3cf73beff0f7 (patch)
tree741db5f87eb16bc381bb171f96aac92e55b9c784 /drivers/block/xen-blkfront.c
parent986cacbd26abe5d498be922cd6632f1ec376c271 (diff)
downloadop-kernel-dev-0e5e098ac22dae38f957e951b70d3cf73beff0f7.zip
op-kernel-dev-0e5e098ac22dae38f957e951b70d3cf73beff0f7.tar.gz
xen-blkback: fix dispatch_rw_block_io() error path
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. CC: stable@vger.kernel.org Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud