Skip to content

Commit 7a7080b

Browse files
committed
Merge branch 'nvme-4.19' of git://git.infradead.org/nvme into for-linus
Pull single NVMe fix from Christoph. * 'nvme-4.19' of git://git.infradead.org/nvme: nvme: remove ns sibling before clearing path
2 parents 5e65a20 + 48f78be commit 7a7080b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/nvme/host/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3143,8 +3143,8 @@ static void nvme_ns_remove(struct nvme_ns *ns)
31433143
}
31443144

31453145
mutex_lock(&ns->ctrl->subsys->lock);
3146-
nvme_mpath_clear_current_path(ns);
31473146
list_del_rcu(&ns->siblings);
3147+
nvme_mpath_clear_current_path(ns);
31483148
mutex_unlock(&ns->ctrl->subsys->lock);
31493149

31503150
down_write(&ns->ctrl->namespaces_rwsem);

0 commit comments

Comments
 (0)