diff options
author | 2013-01-11 18:47:12 +0530 | |
---|---|---|
committer | 2013-01-11 14:35:58 +0100 | |
commit | 58c49df378cde4ff64172483d593a1a5689c13a8 (patch) | |
tree | 561681531660ae0f29ecc286cf921ab48ee11f2a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtip32xx: fix for driver hang after a command timeout (diff) | |
download | linux-dev-58c49df378cde4ff64172483d593a1a5689c13a8.tar.xz linux-dev-58c49df378cde4ff64172483d593a1a5689c13a8.zip |
mtip32xx: fix for crash when the device surprise removed during rebuild
When rebuild is in progress, disk->queue is yet to be created. Surprise
removing the device will call remove()-> del_gendisk(). del_gendisk()
expect disk->queue be not NULL. Fix is to call put_disk() when disk_queue
is NULL.
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions