xen/blkback: Fix two races in the handling of barrier requests.
commit6927d92091df2848fc0e6a693a017d4b2df549c2
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 17 Oct 2011 18:27:48 +0000 (17 14:27 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 17 Oct 2011 18:28:57 +0000 (17 14:28 -0400)
tree31fc8055bad35f8daf4325a252018dd5ff0a9150
parentdda1852802a6cc6fdecb9021e491b2de680c76b9
xen/blkback: Fix two races in the handling of barrier requests.

There are two windows of opportunity to cause a race when
processing a barrier request. This patch fixes this.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/blkback.c