aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-02-06 17:59:14 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-02-06 17:59:14 +0000
commit752a98b13e8d2ca437c91d5af72521849e648796 (patch)
tree39ebdd716bba6a6c96a58842cf3e7788cbe27397 /sys/ufs/ffs
parentbf40d24a3f0fa400f36653086ba4d42d854f8c31 (diff)
downloadsrc-752a98b13e8d2ca437c91d5af72521849e648796.tar.gz
src-752a98b13e8d2ca437c91d5af72521849e648796.zip
Add missing opt_quota.h include to activate #ifdef QUOTA blocks,
apparently a step in unbreaking QUOTA support. Reported and tested by: Adam Strohl <adams-freebsd ateamsystems com> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=231091
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r--sys/ufs/ffs/ffs_softdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 7b79b7ed5813..8204e0bee3c0 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -43,6 +43,7 @@
__FBSDID("$FreeBSD$");
#include "opt_ffs.h"
+#include "opt_quota.h"
#include "opt_ddb.h"
/*
@@ -6428,7 +6429,7 @@ softdep_setup_freeblocks(ip, length, flags)
}
#ifdef QUOTA
/* Reference the quotas in case the block count is wrong in the end. */
- quotaref(vp, freeblks->fb_quota);
+ quotaref(ITOV(ip), freeblks->fb_quota);
(void) chkdq(ip, -datablocks, NOCRED, 0);
#endif
freeblks->fb_chkcnt = -datablocks;