Date: Mon, 13 Feb 2012 10:48:43 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r231581 - stable/9/sys/ufs/ffs Message-ID: <201202131048.q1DAmhLS039129@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202131048.q1DAmhLS039129>