summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-02-09 12:11:37 +0000
committerjeff <jeff@FreeBSD.org>2003-02-09 12:11:37 +0000
commit528cceebc448225964e94119b7b8d18a422d984c (patch)
tree811917d67a1ed81db990032e3c6e882a8150b065 /sys/kern
parent33fe54e5575b0da143b1409e7ad817867a9b7b11 (diff)
downloadFreeBSD-src-528cceebc448225964e94119b7b8d18a422d984c.zip
FreeBSD-src-528cceebc448225964e94119b7b8d18a422d984c.tar.gz
- Move some code out from #ifdef INVARIANTS.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_bio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 2f65898..5723ed1 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -929,12 +929,10 @@ vfs_backgroundwritedone(bp)
/*
* Find the original buffer that we are writing.
*/
-#ifdef INVARIANTS
VI_LOCK(bp->b_vp);
if ((origbp = gbincore(bp->b_vp, bp->b_lblkno)) == NULL)
panic("backgroundwritedone: lost buffer");
VI_UNLOCK(bp->b_vp);
-#endif
/*
* Process dependencies then return any unfinished ones.
*/
OpenPOWER on IntegriCloud