FreeBSD Bugzilla – Attachment 192491 Details for
Bug 227496
[patch] /usr/bin/quota overflow and underflow for NFS quota values.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
suggested patch
file_227496.txt (text/plain), 1.74 KB, created by
Per Andersson
on 2018-04-13 14:20:26 UTC
(
hide
)
Description:
suggested patch
Filename:
MIME Type:
Creator:
Per Andersson
Created:
2018-04-13 14:20:26 UTC
Size:
1.74 KB
patch
obsolete
>*** quota.c Fri Apr 13 14:24:00 2018 >--- ../quota/quota.c Thu Nov 3 20:54:16 2016 >*************** >*** 619,632 **** > gettimeofday(&tv, NULL); > /* blocks*/ > dqp->dqb_bhardlimit = >! ((u_int64_t) gq_rslt.getquota_rslt_u.gqr_rquota.rq_bhardlimit * >! gq_rslt.getquota_rslt_u.gqr_rquota.rq_bsize) / DEV_BSIZE; > dqp->dqb_bsoftlimit = >! ((u_int64_t) gq_rslt.getquota_rslt_u.gqr_rquota.rq_bsoftlimit * >! gq_rslt.getquota_rslt_u.gqr_rquota.rq_bsize) / DEV_BSIZE; > dqp->dqb_curblocks = >! ((u_int64_t) gq_rslt.getquota_rslt_u.gqr_rquota.rq_curblocks * >! gq_rslt.getquota_rslt_u.gqr_rquota.rq_bsize) / DEV_BSIZE; > /* inodes */ > dqp->dqb_ihardlimit = > gq_rslt.getquota_rslt_u.gqr_rquota.rq_fhardlimit; >--- 619,632 ---- > gettimeofday(&tv, NULL); > /* blocks*/ > dqp->dqb_bhardlimit = >! gq_rslt.getquota_rslt_u.gqr_rquota.rq_bhardlimit * >! (gq_rslt.getquota_rslt_u.gqr_rquota.rq_bsize / DEV_BSIZE); > dqp->dqb_bsoftlimit = >! gq_rslt.getquota_rslt_u.gqr_rquota.rq_bsoftlimit * >! (gq_rslt.getquota_rslt_u.gqr_rquota.rq_bsize / DEV_BSIZE); > dqp->dqb_curblocks = >! gq_rslt.getquota_rslt_u.gqr_rquota.rq_curblocks * >! (gq_rslt.getquota_rslt_u.gqr_rquota.rq_bsize / DEV_BSIZE); > /* inodes */ > dqp->dqb_ihardlimit = > gq_rslt.getquota_rslt_u.gqr_rquota.rq_fhardlimit;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 227496
: 192491