From 55097f7d1d836471363011a8777224af0c772905 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 12 Jul 2018 14:44:40 +0200 Subject: [PATCH] s3: vfs: add missing tevent_req_received() to SMB_VFS_FSYNC_RECV() Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- source3/smbd/vfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 8036ffe5ef6..a6f42802065 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -1877,9 +1877,11 @@ int SMB_VFS_FSYNC_RECV(struct tevent_req *req, struct vfs_aio_state *vfs_aio_sta req, struct smb_vfs_call_fsync_state); if (tevent_req_is_unix_error(req, &vfs_aio_state->error)) { + tevent_req_received(req); return -1; } *vfs_aio_state = state->vfs_aio_state; + tevent_req_received(req); return state->retval; } -- 2.34.1