diff options
author | Daniel Stodden | 2010-04-30 22:01:22 +0000 |
---|---|---|
committer | Jens Axboe | 2010-08-07 18:45:27 +0200 |
commit | fa1bd3591a669b92b635dbdb11d1a32a5630821b (patch) | |
tree | 41309de6425e854420b26bdcfd94accaf52c3cee /kernel/sched_debug.c | |
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>
Diffstat (limited to 'kernel/sched_debug.c')
0 files changed, 0 insertions, 0 deletions