Skip to content

Commit 3ddfbfb

Browse files
johnpgarrykeithbusch
authored andcommitted
nvme: correct comment about nvme_ns_remove()
The comment in nvme_mpath_remove_disk() references nvme_remove_ns(), which should be nvme_ns_remove(). Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: John Garry <john.g.garry@oracle.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
1 parent 6305950 commit 3ddfbfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/nvme/host/multipath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ void nvme_mpath_remove_disk(struct nvme_ns_head *head)
13001300
mutex_lock(&head->subsys->lock);
13011301
/*
13021302
* We are called when all paths have been removed, and at that point
1303-
* head->list is expected to be empty. However, nvme_remove_ns() and
1303+
* head->list is expected to be empty. However, nvme_ns_remove() and
13041304
* nvme_init_ns_head() can run concurrently and so if head->delayed_
13051305
* removal_secs is configured, it is possible that by the time we reach
13061306
* this point, head->list may no longer be empty. Therefore, we recheck

0 commit comments

Comments
 (0)