s3: VFS: Change SMB_VFS_REMOVEXATTR to use const struct smb_filename * instead of...
[obnox/samba/samba-obnox.git] / source3 / modules / vfs_acl_xattr.c
index 1dc70824bf573cb49fa332b6604c99c4539b5bc4..b21207bc205f89e01c9829d47347449613961275 100644 (file)
@@ -181,7 +181,7 @@ static int sys_acl_set_file_xattr(vfs_handle_struct *handle,
        }
 
        become_root();
-       SMB_VFS_REMOVEXATTR(handle->conn, smb_fname->base_name,
+       SMB_VFS_REMOVEXATTR(handle->conn, smb_fname,
                        XATTR_NTACL_NAME);
        unbecome_root();