Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 02:03:59 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r244239 - head/sys/ufs/ufs
Message-ID:  <201212150203.qBF23xOh014077@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Dec 15 02:03:59 2012
New Revision: 244239
URL: http://svnweb.freebsd.org/changeset/base/244239

Log:
  Fix a typo, resulting in the NULL pointer dereference.
  
  Reported and tested by:	pho
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

Modified:
  head/sys/ufs/ufs/ufs_quota.c

Modified: head/sys/ufs/ufs/ufs_quota.c
==============================================================================
--- head/sys/ufs/ufs/ufs_quota.c	Sat Dec 15 02:03:06 2012	(r244238)
+++ head/sys/ufs/ufs/ufs_quota.c	Sat Dec 15 02:03:59 2012	(r244239)
@@ -1044,7 +1044,7 @@ again:
 		error = vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, td);
 		if (error) {
 			if (error == ENOENT) {
-				MNT_VNODE_FOREACH_ALL_ABORT(mp, mvp);
+				MNT_VNODE_FOREACH_ACTIVE_ABORT(mp, mvp);
 				goto again;
 			}
 			continue;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212150203.qBF23xOh014077>