git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3776a9c
)
s3:vfs:aio_fork: fix O3 error unused result of write
author
Michael Adam
<obnox@samba.org>
Tue, 5 Apr 2016 20:21:19 +0000
(22:21 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 12 May 2016 22:16:16 +0000
(
00:16
+0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
source3/modules/vfs_aio_fork.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_aio_fork.c
b/source3/modules/vfs_aio_fork.c
index e699fc5d27f55d029e76e6ba99018ed975269316..7d06b984009cccd7b86b4485a6b729fb1b2cee25 100644
(file)
--- a/
source3/modules/vfs_aio_fork.c
+++ b/
source3/modules/vfs_aio_fork.c
@@
-411,7
+411,7
@@
static int aio_child_destructor(struct aio_child *child)
* closing the sockfd makes the child not return from recvmsg() on RHEL
* 5.5 so instead force the child to exit by writing bad data to it
*/
-
write
(child->sockfd, &c, sizeof(c));
+
sys_write_v
(child->sockfd, &c, sizeof(c));
close(child->sockfd);
DLIST_REMOVE(child->list->children, child);
return 0;