nvme_disk: Request callbacks in libnvme are called with the qpair lock held.

Fixes #15880.
This commit is contained in:
Augustin Cavalier 2020-04-20 23:48:25 -04:00
parent 0f839b9e8c
commit 6ef25b8505

View File

@ -67,7 +67,7 @@ static void nvme_request_cb_complete_child(void *child_arg,
if (parent->child_reqs == 0) {
if (parent->cb_fn)
parent->cb_fn(parent->cb_arg, &parent->parent_status);
nvme_request_free(parent);
nvme_request_free_locked(parent);
}
}