From 6be818b47b934449d4a40973e4b81654ee22490b Mon Sep 17 00:00:00 2001 From: Ralph Wuerthner Date: Tue, 28 Jan 2020 15:42:03 +0100 Subject: [PATCH] vfs_gpfs: Remove discard_const_p() from gpfswrap_quotactl() calls Signed-off-by: Ralph Wuerthner Reviewed-by: Christof Schmitt Reviewed-by: Gary Lockyer Autobuild-User(master): Christof Schmitt Autobuild-Date(master): Mon Feb 3 21:53:05 UTC 2020 on sn-devel-184 --- source3/modules/vfs_gpfs.c | 3 +-- 1 file changed, 1 insertion(+), 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) { -- 2.47.2