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)
committerJeremy Allison <jra@samba.org>
Thu, 30 May 2019 20:19:27 +0000 (20:19 +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>
source3/modules/vfs_fruit.c

index 8daf19319d778de43596af1e2971b632f4d28b96..876a7100cf8da308127141da6f44b463a06e0c68 100644 (file)
@@ -994,7 +994,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;
@@ -1196,7 +1197,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;
        }