git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b70f5fa
)
blkfront: Fix blkfront backend switch race (bdev open)
author
Daniel Stodden
<daniel.stodden@citrix.com>
Sat, 7 Aug 2010 16:36:53 +0000
(18:36 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:38:43 +0000
(18:38 +0200)
We need not mind if users grab a late handle on a closing disk. We
probably even should not. But we have to make sure it's not a dead
one already
Let the bdev deal with a gendisk deleted under its feet. Takes the
info mutex to decide a race against backend closing.
Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/xen-blkfront.c
patch
|
blob
|
history
diff --cc
drivers/block/xen-blkfront.c
Simple merge