summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-06-04 11:41:57 -0700
committerJeremy Allison <jra@samba.org>2010-06-04 11:41:57 -0700
commitb12409a480410116b88f8c6a4522a79056ccbaff (patch)
tree8e4d34503fc5f1f5204c3303bbdc68fb3353f7e9
parentbe5133f1e07599862ae732056161be6c124a0664 (diff)
downloadsamba-b12409a480410116b88f8c6a4522a79056ccbaff.tar.gz
samba-b12409a480410116b88f8c6a4522a79056ccbaff.tar.bz2
samba-b12409a480410116b88f8c6a4522a79056ccbaff.zip
wait_for_aio_completion() should return 0 on non-aio compiled case.
-rw-r--r--source3/smbd/aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index 4e1bcb9b40..ab88b1283f 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -731,7 +731,7 @@ void cancel_aio_by_fsp(files_struct *fsp)
int wait_for_aio_completion(files_struct *fsp)
{
- return ENOSYS;
+ return 0;
}
void smbd_aio_complete_mid(uint64_t mid);