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:
parent
28da072319
commit
e4abe87082
@ -244,6 +244,9 @@ int sys_get_nfs_quota(const char *path, const char *bdev,
|
|||||||
dp->softlimit = gq_rslt.GQR_RQUOTA.rq_bsoftlimit;
|
dp->softlimit = gq_rslt.GQR_RQUOTA.rq_bsoftlimit;
|
||||||
dp->hardlimit = gq_rslt.GQR_RQUOTA.rq_bhardlimit;
|
dp->hardlimit = gq_rslt.GQR_RQUOTA.rq_bhardlimit;
|
||||||
dp->curblocks = gq_rslt.GQR_RQUOTA.rq_curblocks;
|
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;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user