summaryrefslogtreecommitdiff
path: root/drivers/lightnvm/gennvm.c
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2015-12-06 13:25:49 +0300
committerJens Axboe <axboe@fb.com>2015-12-07 19:14:19 +0300
commit762796bc9e5758df6c72253e4ec19657055cea1f (patch)
tree2d7eda1eb035ebbe5c1e6cd92b5f30f961c1864f /drivers/lightnvm/gennvm.c
parent16f26c3aa9b9c36a9d1092ae3258461d1008481e (diff)
downloadlinux-762796bc9e5758df6c72253e4ec19657055cea1f.tar.xz
lightnvm: fix media mgr registration
This patch fixes two issues during media manager registration. 1. The ppa pool can be used at media manager registration. Allocate the ppa pool before that. 2. If a media manager can't be found, this should not lead to the device being unallocated. A media manager can be registered later, that can manage the device. Only warn if a media manager fails initialization. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm/gennvm.c')
0 files changed, 0 insertions, 0 deletions