vtruncbuf: add a comment explaining the purpose of the loop

(cherry picked from commit 4c41d10f15)
This commit is contained in:
Konstantin Belousov 2023-12-31 22:46:04 +02:00
parent 62b0cb2378
commit dc024acd51

View file

@ -2558,6 +2558,9 @@ restart_unlocked:
;
if (length > 0) {
/*
* Write out vnode metadata, e.g. indirect blocks.
*/
restartsync:
TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) {
if (bp->b_lblkno > 0)