commit | 69d3b8ac15a5eb938e6a01909f6cc8ae4b5d3a17 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Dec 24 15:27:00 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Tue Jan 12 13:30:13 2016 -0700 |
tree | 0c845f04ca4d0cc841e4ec215b932554231cc72b | |
parent | 363c9aacb6c59bb63148dd115632880a4aed4d88 [diff] |
nvme: synchronize access to ctrl->namespaces Currently traversal and modification of ctrl->namespaces happens completely unsynchronized, which can be fixed by the addition of a simple mutex. Note: nvme_dev_ioctl will be handled in the next patch. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Acked-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>