From: Ralph Boehme Date: Thu, 14 May 2020 14:52:16 +0000 (+0200) Subject: vfs_aio_pthread: pass smb_fname to create_private_open_data() X-Git-Tag: ldb-2.2.0~439 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd87aeb3d04f6b3a50c11b9c458deb912089997b;p=thirdparty%2Fsamba.git vfs_aio_pthread: pass smb_fname to create_private_open_data() 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 0b1a4caaa83..1e19e281fc9 100644 --- a/source3/modules/vfs_aio_pthread.c +++ b/source3/modules/vfs_aio_pthread.c @@ -249,6 +249,7 @@ static void opd_free(struct aio_open_private_data *opd) ***********************************************************************/ static struct aio_open_private_data *create_private_open_data(TALLOC_CTX *ctx, + const struct smb_filename *smb_fname, const files_struct *fsp, int flags, mode_t mode) @@ -352,7 +353,7 @@ static int open_async(const struct smb_filename *smb_fname, * opd is always safely freed in all codepath so no * memory leaks. */ - opd = create_private_open_data(fsp->conn, fsp, flags, mode); + opd = create_private_open_data(fsp->conn, smb_fname, fsp, flags, mode); if (opd == NULL) { DEBUG(10, ("open_async: Could not create private data.\n")); return -1;