summaryrefslogtreecommitdiffstats
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-12-04 21:13:33 -0800
committerJeremy Allison <jra@samba.org>2014-12-05 18:37:10 +0100
commitcd6269c9ea601e89bf9cd8b6c73f79cf594b8c7f (patch)
tree3cc866ca8d18a1716a9c9cc54fac59355e6dfffa /source3/smbd/proto.h
parent4061b8db1bbdb53a0755277b1f0ceeccb6dc7eaa (diff)
downloadsamba-cd6269c9ea601e89bf9cd8b6c73f79cf594b8c7f.tar.gz
samba-cd6269c9ea601e89bf9cd8b6c73f79cf594b8c7f.tar.xz
samba-cd6269c9ea601e89bf9cd8b6c73f79cf594b8c7f.zip
s3: leases: Make aio_add_req_to_fsp() public.
We're going to need this to stop handle closures with outstanding async SMB2 renames causing a crash. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index e40a77b4e8..3798555682 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -91,6 +91,7 @@ NTSTATUS schedule_aio_smb2_write(connection_struct *conn,
DATA_BLOB in_data,
bool write_through);
bool cancel_smb2_aio(struct smb_request *smbreq);
+bool aio_add_req_to_fsp(files_struct *fsp, struct tevent_req *req);
/* The following definitions come from smbd/blocking.c */