]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: add lightnvm null_blk device to the nullb_list
authorWenwei Tao <ww.tao0320@gmail.com>
Fri, 4 Mar 2016 16:27:04 +0000 (00:27 +0800)
committerJens Axboe <axboe@fb.com>
Sat, 19 Mar 2016 01:10:37 +0000 (18:10 -0700)
commit4d69f14795c1d78cab2533f070942dca748cc813
tree787f9f90717596527f6efcde75201624c39ed322
parentfa0f969db61560a3e6fb8e8cd001f2ba75667472
null_blk: add lightnvm null_blk device to the nullb_list

After register null_blk devices into lightnvm, we forget
to add these devices to the the nullb_list, makes them
invisible to the null_blk driver.

Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
Fixes: 44f5a0c67d62 ("null_blk: oops when initializing without lightnvm")
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c