Skip to content

Commit

Permalink
Merge branch 'nvme-4.19' of git://git.infradead.org/nvme into for-linus
Browse files Browse the repository at this point in the history
Pull single NVMe fix from Christoph.

* 'nvme-4.19' of git://git.infradead.org/nvme:
  nvme: remove ns sibling before clearing path
  • Loading branch information
Jens Axboe committed Oct 17, 2018
2 parents 5e65a20 + 48f78be commit 7a7080b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nvme/host/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3143,8 +3143,8 @@ static void nvme_ns_remove(struct nvme_ns *ns)
}

mutex_lock(&ns->ctrl->subsys->lock);
nvme_mpath_clear_current_path(ns);
list_del_rcu(&ns->siblings);
nvme_mpath_clear_current_path(ns);
mutex_unlock(&ns->ctrl->subsys->lock);

down_write(&ns->ctrl->namespaces_rwsem);
Expand Down

0 comments on commit 7a7080b

Please sign in to comment.