From c51a8f36dabc4d59a7e9bd0727b42f049825cd68 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 14 May 2020 16:50:40 +0200 Subject: [PATCH] vfs_aio_pthread: pass smb_fname to open_async() Not yet used. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/modules/vfs_aio_pthread.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source3/modules/vfs_aio_pthread.c b/source3/modules/vfs_aio_pthread.c index 45b59bcb813..0b1a4caaa83 100644 --- a/source3/modules/vfs_aio_pthread.c +++ b/source3/modules/vfs_aio_pthread.c @@ -333,9 +333,10 @@ static int opd_inflight_destructor(struct aio_open_private_data *opd) Setup an async open. *****************************************************************/ -static int open_async(const files_struct *fsp, - int flags, - mode_t mode) +static int open_async(const struct smb_filename *smb_fname, + const files_struct *fsp, + int flags, + mode_t mode) { struct aio_open_private_data *opd = NULL; struct tevent_req *subreq = NULL; @@ -479,7 +480,7 @@ static int aio_pthread_open_fn(vfs_handle_struct *handle, } /* Ok, it's a create exclusive call - pass it to a thread helper. */ - return open_async(fsp, flags, mode); + return open_async(smb_fname, fsp, flags, mode); } #endif -- 2.47.3