]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3/smbd: SMB_VFS_SETXATTR => SMB_VFS_FSETXATTR
authorNoel Power <noel.power@suse.com>
Wed, 17 Feb 2021 09:27:40 +0000 (09:27 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 11 Mar 2021 17:50:30 +0000 (17:50 +0000)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/dosmode.c

index d994b59038161c21828f6d50ac2acc3e27b39727..bcd680b82d6270a99e70934c5814e7cf65e07534 100644 (file)
@@ -460,7 +460,7 @@ NTSTATUS set_ea_dos_attribute(connection_struct *conn,
                return NT_STATUS_INVALID_PARAMETER;
        }
 
-       ret = SMB_VFS_SETXATTR(conn, smb_fname,
+       ret = SMB_VFS_FSETXATTR(smb_fname->fsp,
                               SAMBA_XATTR_DOS_ATTRIB,
                               blob.data, blob.length, 0);
        if (ret != 0) {