git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28da072
)
sysquotas_nfs: also honor reported inode/file limits
author
Björn Jacke
<bj@sernet.de>
Sat, 9 Feb 2019 23:51:23 +0000
(
00:51
+0100)
committer
Bjoern Jacke
<bjacke@samba.org>
Sun, 17 Feb 2019 12:33:13 +0000
(13:33 +0100)
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source3/lib/sysquotas_nfs.c
patch
|
blob
|
history
diff --git
a/source3/lib/sysquotas_nfs.c
b/source3/lib/sysquotas_nfs.c
index dd2b12d0ffdaa7ecb31b9c089f47e2225fb45882..14dcb028d0a307b21d218f2347e39b1b8356ea0c 100644
(file)
--- 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: