diff options
author | Ralph Wuerthner <ralph.wuerthner@de.ibm.com> | 2020-01-28 15:42:03 +0100 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2020-02-03 21:53:05 +0000 |
commit | 6be818b47b934449d4a40973e4b81654ee22490b (patch) | |
tree | 841a2ad6535928cf0b90ecef8361638f74d0a7cc | |
parent | ea45cba9ee27e17182d440cd37e0c1cdf33b12f5 (diff) | |
download | samba-6be818b47b934449d4a40973e4b81654ee22490b.tar.gz |
vfs_gpfs: Remove discard_const_p() from gpfswrap_quotactl() 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>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Mon Feb 3 21:53:05 UTC 2020 on sn-devel-184
-rw-r--r-- | source3/modules/vfs_gpfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index dd2725973c5..115459bd15d 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -2310,8 +2310,7 @@ static int get_gpfs_quota(const char *pathname, int type, int id, { int ret; - ret = gpfswrap_quotactl(discard_const_p(char, pathname), - GPFS_QCMD(Q_GETQUOTA, type), id, qi); + ret = gpfswrap_quotactl(pathname, GPFS_QCMD(Q_GETQUOTA, type), id, qi); if (ret) { if (errno == GPFS_E_NO_QUOTA_INST) { |