Fix build. chkdquot() should not return anything.
This commit is contained in:
parent
2518ad74c7
commit
e499c6135c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166146
@ -415,7 +415,7 @@ chkdquot(ip)
|
||||
* This prevents the creation of 100GB+ quota files.
|
||||
*/
|
||||
if ((int)ip->i_uid < 0 || (int)ip->i_gid < 0)
|
||||
return (0);
|
||||
return;
|
||||
for (i = 0; i < MAXQUOTAS; i++) {
|
||||
if (ump->um_quotas[i] == NULLVP ||
|
||||
(ump->um_qflags[i] & (QTF_OPENING|QTF_CLOSING)))
|
||||
|
Loading…
Reference in New Issue
Block a user