From: Ralph Boehme Date: Thu, 14 May 2020 14:50:40 +0000 (+0200) Subject: vfs_aio_pthread: pass smb_fname to open_async() X-Git-Tag: ldb-2.2.0~440 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c51a8f36dabc4d59a7e9bd0727b42f049825cd68;p=thirdparty%2Fsamba.git vfs_aio_pthread: pass smb_fname to open_async() Not yet used. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- 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