summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-06-04 11:30:46 -0700
committerJeremy Allison <jra@samba.org>2010-06-04 11:30:46 -0700
commite0acee4919d1f416c98faa1a0ebc779f3716ab70 (patch)
tree261b500343f5eeed7ebe51b9d1f749941780f074 /source3/include
parent15f64af8e3d5aa889a9c9fb852a3357237ba9972 (diff)
downloadsamba-e0acee4919d1f416c98faa1a0ebc779f3716ab70.tar.gz
samba-e0acee4919d1f416c98faa1a0ebc779f3716ab70.tar.bz2
samba-e0acee4919d1f416c98faa1a0ebc779f3716ab70.zip
Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). Simplifies
the code and eliminates find_aio_ex(). Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/include/smb.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 884ce3f07f..41ab440fd8 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5321,7 +5321,7 @@ NTSTATUS schedule_aio_write_and_X(connection_struct *conn,
size_t numtowrite);
int wait_for_aio_completion(files_struct *fsp);
void cancel_aio_by_fsp(files_struct *fsp);
-void smbd_aio_complete_mid(uint64_t mid);
+void smbd_aio_complete_aio_ex(struct aio_extra *aio_ex);
/* The following definitions come from smbd/blocking.c */
diff --git a/source3/include/smb.h b/source3/include/smb.h
index d20a04ea97..877588a559 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1963,4 +1963,7 @@ struct deferred_open_record;
#define CSC_POLICY_PROGRAMS 2
#define CSC_POLICY_DISABLE 3
+/* Used inside aio code. */
+struct aio_extra;
+
#endif /* _SMB_H */