aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/paride/pcd.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2010-08-07 12:28:55 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 12:28:55 -0400
commit0e34582699392d67910bd3919bc8fd9bedce115e (patch)
tree8726f57eead44ecce90112e969e12a33e119acd9 /drivers/block/paride/pcd.c
parent203fd61f42fec81f43bc5abbf2d3755e04e000af (diff)
blkfront: fixes for 'xm block-detach ... --force'
Prevent prematurely freeing 'struct blkfront_info' instances (when the xenbus data structures are gone, but the Linux ones are still needed). Prevent adding a disk with the same (major, minor) [and hence the same name and sysfs entries, which leads to oopses] when the previous instance wasn't fully de-allocated yet. This still doesn't address all issues resulting from forced detach: I/O submitted after the detach still blocks forever, likely preventing subsequent un-mounting from completing. It's not clear to me (not knowing much about the block layer) how this can be avoided. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block/paride/pcd.c')
0 files changed, 0 insertions, 0 deletions