diff options
author | Jan Beulich <JBeulich@suse.com> | 2013-03-11 09:39:55 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-05 10:16:36 -0700 |
commit | 460c49749ae56b5f49454ad0ce0066f80a14c385 (patch) | |
tree | 029ae91bf930b384857ae88e1d5891436b680cd0 /drivers/watchdog/iTCO_vendor.h | |
parent | 1c9c0901afba44cf1353505b72e146e7f87a54b6 (diff) | |
download | lwn-460c49749ae56b5f49454ad0ce0066f80a14c385.tar.gz lwn-460c49749ae56b5f49454ad0ce0066f80a14c385.zip |
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 <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/iTCO_vendor.h')
0 files changed, 0 insertions, 0 deletions