From 06bd78910ecc4f01638dd3bc30c048cde698c3ec Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 23 May 2019 08:14:18 +0200 Subject: [PATCH] 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 Reviewed-by: Jeremy Allison (cherry picked from commit 3919ea048fe3b763657e14cdfb5920184a900d27) --- source3/modules/vfs_fruit.c | 5 +++-- 1 file 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; } -- 2.47.2