]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_fruit: pass VFS handle to ad_convert_move_reso()
authorRalph Boehme <slow@samba.org>
Thu, 23 May 2019 06:14:18 +0000 (08:14 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 21 Jun 2019 07:56:19 +0000 (07:56 +0000)
Not used for now, that comes next.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 3919ea048fe3b763657e14cdfb5920184a900d27)

source3/modules/vfs_fruit.c

index 5463e171d364cd8f41baa26146fd37cec5712fe3..bf1e901a2d3c389bb139496b28d75512fd7eb81b 100644 (file)
@@ -992,7 +992,8 @@ static bool ad_unpack(struct adouble *ad, const size_t nentries,
        return true;
 }
 
-static bool ad_convert_move_reso(struct adouble *ad,
+static bool ad_convert_move_reso(vfs_handle_struct *handle,
+                                struct adouble *ad,
                                 const struct smb_filename *smb_fname)
 {
        char *map = MAP_FAILED;
@@ -1194,7 +1195,7 @@ static bool ad_convert_xattr(vfs_handle_struct *handle,
                goto fail;
        }
 
-       ok = ad_convert_move_reso(ad, smb_fname);
+       ok = ad_convert_move_reso(handle, ad, smb_fname);
        if (!ok) {
                goto fail;
        }