From dda3d953a0082719de6f4d9ec208f6b52b00886c Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 8 Apr 2021 11:24:04 +0100 Subject: [PATCH] s3/modules: linux_xfs_sgid_mkdirat() SMB_VFS_NEXT_FCHMOD => SMB_VFS_NEXT_CHMOD Signed-off-by: Noel Power Reviewed-by: Ralph Boehme --- source3/modules/vfs_linux_xfs_sgid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.47.3