From: Björn Jacke Date: Sat, 9 Feb 2019 23:51:23 +0000 (+0100) Subject: sysquotas_nfs: also honor reported inode/file limits X-Git-Tag: ldb-1.6.1~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4abe87082450dc3392365dd5e02cc2ff42545cd;p=thirdparty%2Fsamba.git sysquotas_nfs: also honor reported inode/file limits Signed-off-by: Bjoern Jacke Reviewed-by: Uri Simchoni --- diff --git a/source3/lib/sysquotas_nfs.c b/source3/lib/sysquotas_nfs.c index dd2b12d0ffd..14dcb028d0a 100644 --- a/source3/lib/sysquotas_nfs.c +++ b/source3/lib/sysquotas_nfs.c @@ -244,6 +244,9 @@ int sys_get_nfs_quota(const char *path, const char *bdev, dp->softlimit = gq_rslt.GQR_RQUOTA.rq_bsoftlimit; dp->hardlimit = gq_rslt.GQR_RQUOTA.rq_bhardlimit; dp->curblocks = gq_rslt.GQR_RQUOTA.rq_curblocks; + dp->isoftlimit = gq_rslt.GQR_RQUOTA.rq_fsoftlimit; + dp->ihardlimit = gq_rslt.GQR_RQUOTA.rq_fhardlimit; + dp->curinodes = gq_rslt.GQR_RQUOTA.rq_curfiles; break; case 2: