mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
- Move some code out from #ifdef INVARIANTS.
This commit is contained in:
parent
05e393f0cd
commit
69953c8435
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110586
@ -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