]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_aio_pthread: pass smb_fname to create_private_open_data()
authorRalph Boehme <slow@samba.org>
Thu, 14 May 2020 14:52:16 +0000 (16:52 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 21 May 2020 05:23:30 +0000 (05:23 +0000)
Not yet used.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_aio_pthread.c

index 0b1a4caaa83f9409265e8b6c06eb60cb63e63b35..1e19e281fc9c63a51408f03b162c0b07505f3ccf 100644 (file)
@@ -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;