From: Ralph Boehme Date: Thu, 12 Jul 2018 12:44:27 +0000 (+0200) Subject: s3: vfs: add missing tevent_req_received() to SMB_VFS_PWRITE_RECV() X-Git-Tag: ldb-1.5.0~195 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d769e9ea4087dc8e7224f440db6801e0a8a2d801;p=thirdparty%2Fsamba.git s3: vfs: add missing tevent_req_received() to SMB_VFS_PWRITE_RECV() Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 84ef9eb23c7..8036ffe5ef6 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -1782,9 +1782,11 @@ ssize_t SMB_VFS_PWRITE_RECV(struct tevent_req *req, req, struct smb_vfs_call_pwrite_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; }