diff options
author | Ralph Wuerthner <ralph.wuerthner@de.ibm.com> | 2020-01-28 15:40:46 +0100 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2020-02-03 20:27:37 +0000 |
commit | ea45cba9ee27e17182d440cd37e0c1cdf33b12f5 (patch) | |
tree | a142e2f9ef94859432c3a442211ef775a12f5a3d /source3/modules/vfs_gpfs.c | |
parent | 508ae8ee7a25eb39a3b5788f0b90cc1e91629e6b (diff) | |
download | samba-ea45cba9ee27e17182d440cd37e0c1cdf33b12f5.tar.gz |
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>
Diffstat (limited to 'source3/modules/vfs_gpfs.c')
-rw-r--r-- | source3/modules/vfs_gpfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index f76dcc015a6..dd2725973c5 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -1325,8 +1325,9 @@ static int gpfsacl_sys_acl_set_file(vfs_handle_struct *handle, return -1; } - result = gpfswrap_putacl(discard_const_p(char, smb_fname->base_name), - GPFS_PUTACL_STRUCT|GPFS_ACL_SAMBA, gpfs_acl); + result = gpfswrap_putacl(smb_fname->base_name, + GPFS_PUTACL_STRUCT|GPFS_ACL_SAMBA, + gpfs_acl); SAFE_FREE(gpfs_acl); return result; |