svn commit: r231581 - stable/9/sys/ufs/ffs
Konstantin Belousov
kib at FreeBSD.org
Mon Feb 13 10:48:44 UTC 2012
Author: kib
Date: Mon Feb 13 10:48:43 2012
New Revision: 231581
URL: http://svn.freebsd.org/changeset/base/231581
Log:
MFC r231091:
Add missing opt_quota.h include to activate #ifdef QUOTA blocks.
Modified:
stable/9/sys/ufs/ffs/ffs_softdep.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/ufs/ffs/ffs_softdep.c
==============================================================================
--- stable/9/sys/ufs/ffs/ffs_softdep.c Mon Feb 13 10:45:20 2012 (r231580)
+++ stable/9/sys/ufs/ffs/ffs_softdep.c Mon Feb 13 10:48:43 2012 (r231581)
@@ -43,6 +43,7 @@
__FBSDID("$FreeBSD$");
#include "opt_ffs.h"
+#include "opt_quota.h"
#include "opt_ddb.h"
/*
@@ -6427,7 +6428,7 @@ softdep_setup_freeblocks(ip, length, fla
}
#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;
More information about the svn-src-stable-9
mailing list