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
This commit is contained in:
Konstantin Belousov 2012-02-06 17:59:14 +00:00
parent bf40d24a3f
commit 752a98b13e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231091

View File

@ -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;