summaryrefslogtreecommitdiff
path: root/block/blk-merge.c
diff options
context:
space:
mode:
authorSunad Bhandary <sunad.s@samsung.com>2016-05-27 15:59:43 +0530
committerJens Axboe <axboe@fb.com>2016-06-08 08:48:47 -0600
commit47b0e50ac724d97c392f771bb46f11d9d1575242 (patch)
treed7b8a1a5029d1429760e8f90eda1a619a97c18c0 /block/blk-merge.c
parentbd0fc2884ca4d1516da1aa5cf44385e24dc23c29 (diff)
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 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions