diff options
Diffstat (limited to 'sys/nwfs/nwfs_vfsops.c')
-rw-r--r-- | sys/nwfs/nwfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nwfs/nwfs_vfsops.c b/sys/nwfs/nwfs_vfsops.c index c0f0844..3e76b30 100644 --- a/sys/nwfs/nwfs_vfsops.c +++ b/sys/nwfs/nwfs_vfsops.c @@ -498,9 +498,9 @@ nwfs_sync(mp, waitfor, cred, p) * Force stale buffer cache information to be flushed. */ loop: - for (vp = mp->mnt_vnodelist.lh_first; + for (vp = LIST_FIRST(&mp->mnt_vnodelist); vp != NULL; - vp = vp->v_mntvnodes.le_next) { + vp = LIST_NEXT(vp, v_mntvnodes)) { /* * If the vnode that we are about to sync is no longer * associated with this mount point, start over. |