From 528cceebc448225964e94119b7b8d18a422d984c Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 9 Feb 2003 12:11:37 +0000 Subject: - Move some code out from #ifdef INVARIANTS. --- sys/kern/vfs_bio.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/kern/vfs_bio.c') 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. */ -- cgit v1.1