summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-19 18:51:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-19 18:51:07 +0200
commitb2a205ff49b9c55d4bdda1bdb10ad19ebd646221 (patch)
tree37e3821d811f74f67c84d7082b9ad8959c5b32a1 /drivers
parent91b15613ce7fb3e724ca0d433eef8e6bf15322af (diff)
parent744889b7cbb56a64f957e65ade7cb65fe3f35714 (diff)
Merge tag 'for-linus-20181019' of git://git.kernel.dk/linux-block
Jens writes: "Block fixes for 4.19-final Two small fixes that should go into this release." * tag 'for-linus-20181019' of git://git.kernel.dk/linux-block: block: don't deal with discard limit in blkdev_issue_discard() nvme: remove ns sibling before clearing path
Diffstat (limited to 'drivers')
-rw-r--r--drivers/nvme/host/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index dd8ec1dd9219..6bb9908bf46f 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -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);