Rename remaining DIAGNOSTIC to INVARIANTS.

MFC after:	3 days
This commit is contained in:
Pedro F. Giffuni 2013-06-17 00:39:23 +00:00
parent 5ba7914bce
commit ebf0f88839

View File

@ -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