Rename remaining DIAGNOSTIC to INVARIANTS.
MFC after: 3 days
This commit is contained in:
parent
5ba7914bce
commit
ebf0f88839
@ -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);
|
bp = getblk(vp, metalbn, bsize, 0, 0, 0);
|
||||||
if ((bp->b_flags & B_CACHE) == 0) {
|
if ((bp->b_flags & B_CACHE) == 0) {
|
||||||
#ifdef DIAGNOSTIC
|
#ifdef INVARIANTS
|
||||||
if (!daddr)
|
if (!daddr)
|
||||||
panic("ext2_bmaparray: indirect block not in cache");
|
panic("ext2_bmaparray: indirect block not in cache");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user