summaryrefslogtreecommitdiff
path: root/drivers/md/dm-mpath.c
diff options
context:
space:
mode:
authorSunad Bhandary <sunad.s@samsung.com>2016-05-27 10:29:43 (GMT)
committerJens Axboe <axboe@fb.com>2016-06-08 14:48:47 (GMT)
commit47b0e50ac724d97c392f771bb46f11d9d1575242 (patch)
treed7b8a1a5029d1429760e8f90eda1a619a97c18c0 /drivers/md/dm-mpath.c
parentbd0fc2884ca4d1516da1aa5cf44385e24dc23c29 (diff)
downloadlinux-47b0e50ac724d97c392f771bb46f11d9d1575242.tar.xz
NVMe: Fix removal in case of active namespace list scanning method
In case of the active namespace list scanning method, a namespace that is detached is not removed from the host if it was the last entry in the list. Fix this by adding a scan to validate namespaces greater than the value of prev. This also handles the case of removing namespaces whose value exceed the device's reported number of namespaces. Signed-off-by: Sunad Bhandary S <sunad.s@samsung.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/md/dm-mpath.c')
0 files changed, 0 insertions, 0 deletions