diff --git a/lib/blobfs/blobfs.c b/lib/blobfs/blobfs.c index bcf435f446..4aecd2ea22 100644 --- a/lib/blobfs/blobfs.c +++ b/lib/blobfs/blobfs.c @@ -2689,7 +2689,7 @@ spdk_file_close(struct spdk_file *file, struct spdk_fs_thread_ctx *ctx) args->file = file; args->sem = &channel->sem; args->fn.file_op = __wake_caller; - args->arg = req; + args->arg = args; channel->send_request(__file_close, req); sem_wait(&channel->sem);