From cd6269c9ea601e89bf9cd8b6c73f79cf594b8c7f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 4 Dec 2014 21:13:33 -0800 Subject: 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 Reviewed-by: Stefan Metzmacher --- source3/smbd/aio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/aio.c') 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; -- cgit