FreeBSD Bugzilla – Attachment 8105 Details for
Bug 17128
Fix for quotas grace time when using chown and soft limits are hit again
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 837 bytes, created by
Andre Albsmeier
on 2000-03-02 13:10:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Andre Albsmeier
Created:
2000-03-02 13:10:02 UTC
Size:
837 bytes
patch
obsolete
>--- /sys/ufs/ufs/ufs_quota.c.ORI Thu Mar 2 13:53:38 2000 >+++ /sys/ufs/ufs/ufs_quota.c Thu Mar 2 13:53:55 2000 >@@ -163,6 +163,10 @@ > (void) tsleep((caddr_t)dq, PINOD+1, "chkdq2", 0); > } > dq->dq_curblocks += change; >+ if (dq->dq_curblocks >= dq->dq_bsoftlimit && dq->dq_bsoftlimit) >+ if (dq->dq_curblocks - change < dq->dq_bsoftlimit) >+ dq->dq_btime = time_second + >+ VFSTOUFS(ITOV(ip)->v_mount)->um_btime[i]; > dq->dq_flags |= DQ_MOD; > } > return (0); >@@ -279,6 +283,10 @@ > (void) tsleep((caddr_t)dq, PINOD+1, "chkiq2", 0); > } > dq->dq_curinodes += change; >+ if (dq->dq_curinodes >= dq->dq_isoftlimit && dq->dq_isoftlimit) >+ if (dq->dq_curinodes - change < dq->dq_isoftlimit) >+ dq->dq_itime = time_second + >+ VFSTOUFS(ITOV(ip)->v_mount)->um_itime[i]; > dq->dq_flags |= DQ_MOD; > } > return (0);
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 17128
: 8105