diff options
author | Wenwei Tao <ww.tao0320@gmail.com> | 2015-11-28 16:49:28 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-29 14:34:58 -0700 |
commit | d0a712ceb83ebaea32d520825ee7b997f59b168f (patch) | |
tree | 33c141fe3d4555f86af8eb7275e29e11a1c524d8 /drivers/lightnvm/gennvm.c | |
parent | 08236c6bb2980561fba657c58fdc76f2865f236c (diff) |
lightnvm: missing nvm_lock acquire
To avoid race conditions, traverse dev, media manager,
and target lists and also register, unregister entries
to/from them, should be always under the nvm_lock control.
Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
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