s3: VFS: Change SMB_VFS_GETXATTR to use const struct smb_filename * instead of const...
[samba.git] / source3 / smbd / dosmode.c
index de10983ae6a411b47233bcb499e93d8f37fe6454..0ee6894785169a8ba72dca77eb475a36066ae0ad 100644 (file)
@@ -278,7 +278,7 @@ NTSTATUS get_ea_dos_attribute(connection_struct *conn,
        /* Don't reset pattr to zero as we may already have filename-based attributes we
           need to preserve. */
 
-       sizeret = SMB_VFS_GETXATTR(conn, smb_fname->base_name,
+       sizeret = SMB_VFS_GETXATTR(conn, smb_fname,
                                   SAMBA_XATTR_DOS_ATTRIB, attrstr,
                                   sizeof(attrstr));
        if (sizeret == -1) {