+ /*
+ * reset warnings if below disk quota.
+ */
+ if (dq->dq_bwarn == 0 && dq->dq_bsoftlimit &&
+ (dq->dq_curblocks + change) < dq->dq_bsoftlimit) {
+ dq->dq_bwarn = MAX_DQ_WARN;
+ if (dq->dq_own == u.u_quota) {
+ uprintf("\nUNDER DISC QUOTA: (%s) by %d Kbytes\n",
+ ip->i_fs->fs_fsmnt,
+ dbtob(dq->dq_bsoftlimit -
+ (dq->dq_curblocks + change)) / 1024);
+ }
+ }