summaryrefslogtreecommitdiffstats
path: root/source3/smbd/aio.c
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/aio.c
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/aio.c')
-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 56b4cfc33d..e2306a9828 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -115,7 +115,7 @@ static int aio_del_req_from_fsp(struct aio_req_fsp_link *lnk)
return 0;
}
-static bool aio_add_req_to_fsp(files_struct *fsp, struct tevent_req *req)
+bool aio_add_req_to_fsp(files_struct *fsp, struct tevent_req *req)
{
size_t array_len;
struct aio_req_fsp_link *lnk;