1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-21 21:44:21 +03:00

vfs_gpfs: Remove discard_const_p() from gpfs_putacl() calls

Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Ralph Wuerthner
2020-01-28 15:40:46 +01:00
committed by Christof Schmitt
parent 508ae8ee7a
commit ea45cba9ee

View File

@@ -1325,8 +1325,9 @@ static int gpfsacl_sys_acl_set_file(vfs_handle_struct *handle,
return -1; return -1;
} }
result = gpfswrap_putacl(discard_const_p(char, smb_fname->base_name), result = gpfswrap_putacl(smb_fname->base_name,
GPFS_PUTACL_STRUCT|GPFS_ACL_SAMBA, gpfs_acl); GPFS_PUTACL_STRUCT|GPFS_ACL_SAMBA,
gpfs_acl);
SAFE_FREE(gpfs_acl); SAFE_FREE(gpfs_acl);
return result; return result;