1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

sysquotas_nfs: also honor reported inode/file limits

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
This commit is contained in:
Björn Jacke 2019-02-10 00:51:23 +01:00 committed by Bjoern Jacke
parent 28da072319
commit e4abe87082

View File

@ -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: