aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2001-02-04 13:13:25 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2001-02-04 13:13:25 +0000
commitfc2ffbe6040d6630a06229c5c9be77601fb635eb (patch)
tree328f91e23b34b382d998fba4c7e55796b240b62b /sys/gnu
parentef9e85abba5ce45c8b3fc840db320edb1abe0160 (diff)
Notes
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_vfsops.c8
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c
index 7119096b3408..25af8d2041cd 100644
--- a/sys/gnu/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/ext2fs/ext2_vfsops.c
@@ -562,12 +562,12 @@ ext2_reload(mountp, cred, p)
loop:
mtx_enter(&mntvnode_mtx, MTX_DEF);
- for (vp = mountp->mnt_vnodelist.lh_first; vp != NULL; vp = nvp) {
+ for (vp = LIST_FIRST(&mountp->mnt_vnodelist); vp != NULL; vp = nvp) {
if (vp->v_mount != mountp) {
mtx_exit(&mntvnode_mtx, MTX_DEF);
goto loop;
}
- nvp = vp->v_mntvnodes.le_next;
+ nvp = LIST_NEXT(vp, v_mntvnodes);
/*
* Step 4: invalidate all inactive vnodes.
*/
@@ -920,7 +920,7 @@ ext2_sync(mp, waitfor, cred, p)
*/
mtx_enter(&mntvnode_mtx, MTX_DEF);
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.
@@ -928,7 +928,7 @@ loop:
if (vp->v_mount != mp)
goto loop;
mtx_enter(&vp->v_interlock, MTX_DEF);
- nvp = vp->v_mntvnodes.le_next;
+ nvp = LIST_NEXT(vp, v_mntvnodes);
ip = VTOI(vp);
if (vp->v_type == VNON ||
((ip->i_flag &
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index 7119096b3408..25af8d2041cd 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -562,12 +562,12 @@ ext2_reload(mountp, cred, p)
loop:
mtx_enter(&mntvnode_mtx, MTX_DEF);
- for (vp = mountp->mnt_vnodelist.lh_first; vp != NULL; vp = nvp) {
+ for (vp = LIST_FIRST(&mountp->mnt_vnodelist); vp != NULL; vp = nvp) {
if (vp->v_mount != mountp) {
mtx_exit(&mntvnode_mtx, MTX_DEF);
goto loop;
}
- nvp = vp->v_mntvnodes.le_next;
+ nvp = LIST_NEXT(vp, v_mntvnodes);
/*
* Step 4: invalidate all inactive vnodes.
*/
@@ -920,7 +920,7 @@ ext2_sync(mp, waitfor, cred, p)
*/
mtx_enter(&mntvnode_mtx, MTX_DEF);
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.
@@ -928,7 +928,7 @@ loop:
if (vp->v_mount != mp)
goto loop;
mtx_enter(&vp->v_interlock, MTX_DEF);
- nvp = vp->v_mntvnodes.le_next;
+ nvp = LIST_NEXT(vp, v_mntvnodes);
ip = VTOI(vp);
if (vp->v_type == VNON ||
((ip->i_flag &