From: Noel Power Date: Thu, 8 Apr 2021 10:24:04 +0000 (+0100) Subject: s3/modules: linux_xfs_sgid_mkdirat() SMB_VFS_NEXT_FCHMOD => SMB_VFS_NEXT_CHMOD X-Git-Tag: tevent-0.11.0~1216 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dda3d953a0082719de6f4d9ec208f6b52b00886c;p=thirdparty%2Fsamba.git s3/modules: linux_xfs_sgid_mkdirat() SMB_VFS_NEXT_FCHMOD => SMB_VFS_NEXT_CHMOD Signed-off-by: Noel Power Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_linux_xfs_sgid.c b/source3/modules/vfs_linux_xfs_sgid.c index e55734f806f..4f07ceab092 100644 --- a/source3/modules/vfs_linux_xfs_sgid.c +++ b/source3/modules/vfs_linux_xfs_sgid.c @@ -94,7 +94,7 @@ static int linux_xfs_sgid_mkdirat(vfs_handle_struct *handle, * return success. What can you do... */ become_root(); - res = SMB_VFS_NEXT_CHMOD(handle, fname, fname->st.st_ex_mode); + res = SMB_VFS_NEXT_FCHMOD(handle, smb_fname->fsp, fname->st.st_ex_mode); unbecome_root(); if (res == -1) {