diff options
author | jeff <jeff@FreeBSD.org> | 2003-02-09 12:11:37 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-02-09 12:11:37 +0000 |
commit | 528cceebc448225964e94119b7b8d18a422d984c (patch) | |
tree | 811917d67a1ed81db990032e3c6e882a8150b065 | |
parent | 33fe54e5575b0da143b1409e7ad817867a9b7b11 (diff) | |
download | FreeBSD-src-528cceebc448225964e94119b7b8d18a422d984c.zip FreeBSD-src-528cceebc448225964e94119b7b8d18a422d984c.tar.gz |
- Move some code out from #ifdef INVARIANTS.
-rw-r--r-- | sys/kern/vfs_bio.c | 2 |
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. */ |