commit | fa1bd3591a669b92b635dbdb11d1a32a5630821b | [log] [tgz] |
---|---|---|
author | Daniel Stodden <daniel.stodden@citrix.com> | Fri Apr 30 22:01:22 2010 +0000 |
committer | Jens Axboe <jaxboe@fusionio.com> | Sat Aug 07 18:45:27 2010 +0200 |
tree | 41309de6425e854420b26bdcfd94accaf52c3cee | |
parent | 7fd152f4b6ae4f3cf89e4b7a0383cc3c470772fc [diff] |
blkfront: Lock blockfront_info during xbdev removal Same approach as blkfront_closing: * Grab the bdev safely, holding the info mutex. * Zap xbdev safely, holding the info mutex. * Try bdev removal safely, holding bd_mutex. Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>