diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 9df4f71e58caa0f93e8a6175cb48ec8d78f164e0..c3cea8a2984350dbd5c6b159b172fda35f683f13 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -349,7 +349,7 @@ static void nvme_free_ns_head(struct kref *ref) nvme_mpath_remove_disk(head); ida_simple_remove(&head->subsys->ns_ida, head->instance); list_del_init(&head->entry); - cleanup_srcu_struct(&head->srcu); + cleanup_srcu_struct_quiesced(&head->srcu); kfree(head); }