commit | 54514aa465e94316a4bf1c5dfe970536bec3e76f | [log] [tgz] |
---|---|---|
author | Matias Bjørling <m@bjorling.me> | Thu Nov 19 12:50:10 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Thu Nov 19 15:15:56 2015 -0700 |
tree | 0ca50311d5889caa98cd868ddc65e993c994995c | |
parent | 5b40db99099ddebe31e9b1b759894cf09c0c6679 [diff] |
null_blk: do not del gendisk with lightnvm The gendisk structure has not been initialized when using lightnvm. Make sure to not delete it upon exit. Also make sure that we use the appropriate disk_name at unregistration. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>