nvme_disk: Request callbacks in libnvme are called with the qpair lock held.
Fixes #15880.
This commit is contained in:
parent
0f839b9e8c
commit
6ef25b8505
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user