]> 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)
commit930c06119d555c632267af5d16dfa5d384d225b3
tree6abad4f9790c72d6d5b076deff52d992349db629
parent543f1ee55525a763266df2c40a7e900ad8b02047
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