svn commit: r244239 - head/sys/ufs/ufs

Konstantin Belousov kib at FreeBSD.org
Sat Dec 15 02:04:00 UTC 2012


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;


More information about the svn-src-all mailing list