diff options
author | Björn Jacke <bj@sernet.de> | 2019-02-10 00:51:23 +0100 |
---|---|---|
committer | Bjoern Jacke <bjacke@samba.org> | 2019-02-17 13:33:13 +0100 |
commit | e4abe87082450dc3392365dd5e02cc2ff42545cd (patch) | |
tree | 7de9e178645129c635ef4a8a4d150efe828762a3 /source3 | |
parent | 28da07231936dc8565a2ce2040ebad7b5e8da2e7 (diff) | |
download | samba-e4abe87082450dc3392365dd5e02cc2ff42545cd.tar.gz |
sysquotas_nfs: also honor reported inode/file limits
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/sysquotas_nfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
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: |