kern.maxvnodes (and hence desireddquot) depends more directly on NVNODE than

on NPROC, adjust the hint to tablefull() accordingly
This commit is contained in:
jdolecek 2000-07-05 17:08:14 +00:00
parent f7e579e2f7
commit 84846c5caa
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ufs_quota.c,v 1.18 2000/07/04 20:31:55 mjacob Exp $ */ /* $NetBSD: ufs_quota.c,v 1.19 2000/07/05 17:08:14 jdolecek Exp $ */
/* /*
* Copyright (c) 1982, 1986, 1990, 1993, 1995 * Copyright (c) 1982, 1986, 1990, 1993, 1995
@ -753,7 +753,7 @@ dqget(vp, id, ump, type, dqp)
} else { } else {
if ((dq = dqfreelist.tqh_first) == NULL) { if ((dq = dqfreelist.tqh_first) == NULL) {
tablefull("dquot", tablefull("dquot",
"increase kern.maxvnodes or NPROC"); "increase kern.maxvnodes or NVNODE");
*dqp = NODQUOT; *dqp = NODQUOT;
return (EUSERS); return (EUSERS);
} }