diff options
author | phk <phk@FreeBSD.org> | 2000-12-31 10:24:19 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-12-31 10:24:19 +0000 |
commit | 5de479435ac7f4124fce758194096f1de151aea4 (patch) | |
tree | 813f80c517df66e8f82e6918c023a148c604421e /sys/msdosfs | |
parent | bd55e14c5922b012035bc431a015ea47974d76b7 (diff) | |
download | FreeBSD-src-5de479435ac7f4124fce758194096f1de151aea4.zip FreeBSD-src-5de479435ac7f4124fce758194096f1de151aea4.tar.gz |
Use macro API to <sys/queue.h>
Diffstat (limited to 'sys/msdosfs')
-rw-r--r-- | sys/msdosfs/msdosfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c index 30b5522..d116328 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 & |