From: Ralph Boehme Date: Thu, 23 May 2019 06:14:18 +0000 (+0200) Subject: vfs_fruit: pass VFS handle to ad_convert_move_reso() X-Git-Tag: samba-4.9.10~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06bd78910ecc4f01638dd3bc30c048cde698c3ec;p=thirdparty%2Fsamba.git 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) --- 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; }