vtruncbuf: add a comment explaining the purpose of the loop

Reviewed by:	chs, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D43261
This commit is contained in:
Konstantin Belousov 2023-12-31 22:46:04 +02:00
parent 656d2e83d9
commit 4c41d10f15

View file

@ -2549,6 +2549,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)