blobfs: fix the wrong parameter in spdk_file_close
According to my code understanding, should be assigned
itself instead of req.
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452120 (master)
(cherry picked from commit dfbbcc74dd
)
Change-Id: I0af4d56f8029269e0632bb6be6c9d912c7106cf8
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457213
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
c7658dea37
commit
754c217d09
@ -2639,7 +2639,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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user