blobfs: fix the wrong parameter in spdk_file_close
According to my code understanding, should be assigned itself instead of req. Change-Id: I0af4d56f8029269e0632bb6be6c9d912c7106cf8 Signed-off-by: Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452120 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
1234a3e52a
commit
dfbbcc74dd
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user