git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
27bb2cb
)
s3: vfs: add missing tevent_req_received() to SMB_VFS_PREAD_RECV()
author
Ralph Boehme
<slow@samba.org>
Thu, 12 Jul 2018 12:43:55 +0000
(14:43 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 24 Jul 2018 22:23:13 +0000
(
00:23
+0200)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/vfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/vfs.c
b/source3/smbd/vfs.c
index ebe5ca5b86987a5689ba1208871ff66c4c06d7b2..84ef9eb23c791fed18e9ee1a38e84e5043a33346 100644
(file)
--- a/
source3/smbd/vfs.c
+++ b/
source3/smbd/vfs.c
@@
-1708,9
+1708,11
@@
ssize_t SMB_VFS_PREAD_RECV(struct tevent_req *req,
req, struct smb_vfs_call_pread_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;
}