summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-05-23 08:14:18 +0200
committerKarolin Seeger <kseeger@samba.org>2019-06-21 07:56:19 +0000
commit06bd78910ecc4f01638dd3bc30c048cde698c3ec (patch)
tree7947dd4962ef874b790a33c41d4a8972f49b8d6b
parente8cecc86ab576c23e7279a019265ad5f09ebb83e (diff)
downloadsamba-06bd78910ecc4f01638dd3bc30c048cde698c3ec.tar.gz
vfs_fruit: pass VFS handle to ad_convert_move_reso()
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)
-rw-r--r--source3/modules/vfs_fruit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c
index 5463e171d36..bf1e901a2d3 100644
--- a/source3/modules/vfs_fruit.c
+++ b/source3/modules/vfs_fruit.c
@@ -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;
}