aboutsummaryrefslogtreecommitdiff
path: root/sys/msdosfs
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-12-31 10:24:19 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-12-31 10:24:19 +0000
commit49851cc7066a21a26eab8279e84843fed2dc8289 (patch)
tree72024eb651bc0f6b719ce4b0944ff963fbc3674b /sys/msdosfs
parente33941c78774948e61a3dd7c292f52ba299becc0 (diff)
Notes
Diffstat (limited to 'sys/msdosfs')
-rw-r--r--sys/msdosfs/msdosfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c
index 30b55223fabc8..d1163280c5338 100644
--- a/sys/msdosfs/msdosfs_vfsops.c
+++ b/sys/msdosfs/msdosfs_vfsops.c
@@ -865,7 +865,7 @@ msdosfs_sync(mp, waitfor, cred, p)
*/
simple_lock(&mntvnode_slock);
loop:
- for (vp = mp->mnt_vnodelist.lh_first; vp != NULL; vp = nvp) {
+ for (vp = LIST_FIRST(&mp->mnt_vnodelist); vp != NULL; vp = nvp) {
/*
* If the vnode that we are about to sync is no longer
* associated with this mount point, start over.
@@ -874,7 +874,7 @@ loop:
goto loop;
mtx_enter(&vp->v_interlock, MTX_DEF);
- nvp = vp->v_mntvnodes.le_next;
+ nvp = LIST_NEXT(vp, v_mntvnodes);
dep = VTODE(vp);
if (vp->v_type == VNON ||
((dep->de_flag &