summaryrefslogtreecommitdiff
path: root/lib/test_user_copy.c
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2015-12-06 10:25:49 (GMT)
committerJens Axboe <axboe@fb.com>2015-12-07 16:14:19 (GMT)
commit762796bc9e5758df6c72253e4ec19657055cea1f (patch)
tree2d7eda1eb035ebbe5c1e6cd92b5f30f961c1864f /lib/test_user_copy.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 'lib/test_user_copy.c')
0 files changed, 0 insertions, 0 deletions