diff options
author | Volker Lendecke <vl@samba.org> | 2012-08-31 14:45:08 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-09-01 03:33:21 +0200 |
commit | f0a9180ae9dd565e4772ba9027ade0edfe1fc8d8 (patch) | |
tree | a25c5e810dc0e5e5555f82799184800d6a0d60e8 /source3 | |
parent | 2ffe69082e23675a96e59eea0954a6b17530e82c (diff) | |
download | samba-f0a9180ae9dd565e4772ba9027ade0edfe1fc8d8.tar.gz samba-f0a9180ae9dd565e4772ba9027ade0edfe1fc8d8.tar.bz2 samba-f0a9180ae9dd565e4772ba9027ade0edfe1fc8d8.zip |
s3: Fix warnings in aio_fork.c
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_aio_fork.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index 2ec3d3d537..3db336f9d5 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -590,9 +590,10 @@ static struct tevent_req *aio_fork_pread_send(struct vfs_handle_struct *handle, ssize_t written; int err; struct aio_fork_config *config; + SMB_VFS_HANDLE_GET_DATA(handle, config, struct aio_fork_config, - return -1); + return NULL); req = tevent_req_create(mem_ctx, &state, struct aio_fork_pread_state); if (req == NULL) { @@ -821,9 +822,10 @@ static struct tevent_req *aio_fork_fsync_send( ssize_t written; int err; struct aio_fork_config *config; + SMB_VFS_HANDLE_GET_DATA(handle, config, struct aio_fork_config, - return -1); + return NULL); req = tevent_req_create(mem_ctx, &state, struct aio_fork_fsync_state); if (req == NULL) { |