mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
Fix quotqcheck to correctly use the curinode count, and not the
curblock count when checking if the inode soft limit has been crossed.
This commit is contained in:
parent
c57086ced7
commit
952a9714bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166457
@ -493,8 +493,8 @@ update(fsname, quotafile, type)
|
||||
fup->fu_curblocks >= dqbuf.dqb_bsoftlimit)
|
||||
dqbuf.dqb_btime = 0;
|
||||
if (dqbuf.dqb_isoftlimit &&
|
||||
dqbuf.dqb_curblocks < dqbuf.dqb_isoftlimit &&
|
||||
fup->fu_curblocks >= dqbuf.dqb_isoftlimit)
|
||||
dqbuf.dqb_curinodes < dqbuf.dqb_isoftlimit &&
|
||||
fup->fu_curinodes >= dqbuf.dqb_isoftlimit)
|
||||
dqbuf.dqb_itime = 0;
|
||||
dqbuf.dqb_curinodes = fup->fu_curinodes;
|
||||
dqbuf.dqb_curblocks = fup->fu_curblocks;
|
||||
|
Loading…
Reference in New Issue
Block a user