- Move some code out from #ifdef INVARIANTS.
This commit is contained in:
parent
05e393f0cd
commit
69953c8435
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user