]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: prevent gennvm module unload on use
authorMatias Bjørling <m@bjorling.me>
Sun, 6 Dec 2015 10:25:50 +0000 (11:25 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 7 Dec 2015 16:14:19 +0000 (09:14 -0700)
commit24acdbdfa676968e50a34d64998e1e2532525e3e
tree6abad4f9790c72d6d5b076deff52d992349db629
parentdfa74a568df60d2d0c0930064b45590431c6b62b
lightnvm: prevent gennvm module unload on use

After the gennvm module has been initialized. It might be attached to
one or several devices. In that case, the module is in use. Make sure
that it can not be unloaded.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/gennvm.c