summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-01-20 13:54:28 +0000
committerdelphij <delphij@FreeBSD.org>2007-01-20 13:54:28 +0000
commit49f7e5db025070cecd3ea04c77a927c2678037f0 (patch)
tree2c9bf9f2ce73ee852811da275e13eab49f698a3f /sys/ufs
parent9deec2cc7c0d0edb6c8de8ff42e7ab28f6a0707b (diff)
downloadFreeBSD-src-49f7e5db025070cecd3ea04c77a927c2678037f0.zip
FreeBSD-src-49f7e5db025070cecd3ea04c77a927c2678037f0.tar.gz
Fix build. chkdquot() should not return anything.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c
index a3f426b..5610151 100644
--- a/sys/ufs/ufs/ufs_quota.c
+++ b/sys/ufs/ufs/ufs_quota.c
@@ -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)))
OpenPOWER on IntegriCloud