summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm
diff options
context:
space:
mode:
authorRakesh Pandit <rakesh@tuxera.com>2017-10-13 14:45:52 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-13 08:34:57 -0600
commit88d31ea2676696ad0802a361c8b824f0762fa34c (patch)
tree21493fab751ba4bbe1c06571f3948cc8358ec04d /drivers/nvdimm
parentbb6aa6f08268bbce4e0185b18cab9e04505d6695 (diff)
downloadop-kernel-dev-88d31ea2676696ad0802a361c8b824f0762fa34c.zip
op-kernel-dev-88d31ea2676696ad0802a361c8b824f0762fa34c.tar.gz
lightnvm: protect target type list with correct locks
nvm_tgt_types list was protected by wrong lock for NVM_INFO ioctl call and can race with addition or removal of target types. Also unregistering target type was not protected correctly. Fixes: 5cd907853 ("lightnvm: remove nested lock conflict with mm") Signed-off-by: Rakesh Pandit <rakesh@tuxera.com> Reviewed-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud