From: Ralph Boehme Date: Sun, 3 May 2020 13:02:38 +0000 (+0200) Subject: vfs_default: realign synthetic_smb_fname() args in vfswrap_realpath() X-Git-Tag: ldb-2.2.0~715 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f10c390fb53af03b1b737a6f1042e8b854463c7;p=thirdparty%2Fsamba.git vfs_default: realign synthetic_smb_fname() args in vfswrap_realpath() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 6b5ab1e2ef4..f86bbfe56a2 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -2927,7 +2927,11 @@ static struct smb_filename *vfswrap_realpath(vfs_handle_struct *handle, result = sys_realpath(smb_fname->base_name); END_PROFILE(syscall_realpath); if (result) { - result_fname = synthetic_smb_fname(ctx, result, NULL, NULL, 0); + result_fname = synthetic_smb_fname(ctx, + result, + NULL, + NULL, + 0); SAFE_FREE(result); } return result_fname;