diff options
author | Matias Bjørling <m@bjorling.me> | 2015-11-16 15:34:42 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-16 15:20:31 -0700 |
commit | edad2e6606ee62dd7dfc5b001fae39c5c8015a55 (patch) | |
tree | 2adb53a55864f731868a7641d8290139f29dd389 /drivers/vme | |
parent | 4264c980e3e9bb904b7f41dc9c64786cc5466bee (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 'drivers/vme')
0 files changed, 0 insertions, 0 deletions