summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2015-11-16 15:34:42 +0100
committerJens Axboe <axboe@fb.com>2015-11-16 15:20:31 -0700
commitedad2e6606ee62dd7dfc5b001fae39c5c8015a55 (patch)
tree2adb53a55864f731868a7641d8290139f29dd389 /lib
parent4264c980e3e9bb904b7f41dc9c64786cc5466bee (diff)
lightnvm: prematurely activate nvm_dev
We register with nvm_devices when there registration can still fail. Move the final registration at the end of the nvm_register function to make sure we are fully registered when added to the nvm_devices list. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions