Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2013 00:39:24 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251823 - head/sys/fs/ext2fs
Message-ID:  <201306170039.r5H0dOPT046202@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Mon Jun 17 00:39:23 2013
New Revision: 251823
URL: http://svnweb.freebsd.org/changeset/base/251823

Log:
  Rename remaining DIAGNOSTIC to INVARIANTS.
  
  MFC after:	3 days

Modified:
  head/sys/fs/ext2fs/ext2_bmap.c

Modified: head/sys/fs/ext2fs/ext2_bmap.c
==============================================================================
--- head/sys/fs/ext2fs/ext2_bmap.c	Sun Jun 16 21:49:37 2013	(r251822)
+++ head/sys/fs/ext2fs/ext2_bmap.c	Mon Jun 17 00:39:23 2013	(r251823)
@@ -172,7 +172,7 @@ ext2_bmaparray(struct vnode *vp, int32_t
 
 		bp = getblk(vp, metalbn, bsize, 0, 0, 0);
 		if ((bp->b_flags & B_CACHE) == 0) {
-#ifdef DIAGNOSTIC
+#ifdef INVARIANTS
 			if (!daddr)
 				panic("ext2_bmaparray: indirect block not in cache");
 #endif



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