aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2013-06-17 00:39:23 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2013-06-17 00:39:23 +0000
commitebf0f88839ce0bafb6fa4fb244072019f39361b8 (patch)
tree560ac1389c90025e4029eaddc545a66827a0dbe5
parent5ba7914bce84110ba58aff004cef708944d0fdff (diff)
downloadsrc-ebf0f88839ce0bafb6fa4fb244072019f39361b8.tar.gz
src-ebf0f88839ce0bafb6fa4fb244072019f39361b8.zip
Rename remaining DIAGNOSTIC to INVARIANTS.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=251823
-rw-r--r--sys/fs/ext2fs/ext2_bmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_bmap.c b/sys/fs/ext2fs/ext2_bmap.c
index 27a2bad5d58a..4d71e160f4a1 100644
--- a/sys/fs/ext2fs/ext2_bmap.c
+++ b/sys/fs/ext2fs/ext2_bmap.c
@@ -172,7 +172,7 @@ ext2_bmaparray(struct vnode *vp, int32_t bn, int32_t *bnp, int *runp, int *runb)
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