diff options
author | dillon <dillon@FreeBSD.org> | 2001-10-23 01:21:29 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-10-23 01:21:29 +0000 |
commit | 45a6fabe87ae3342c49f2e351d044e60daf8dfb3 (patch) | |
tree | 6c2bc2719e857145710103bb0268efdc6adaad5c /sys/fs/unionfs | |
parent | ceeb7e9e8ead9a5f69302ca1bcb726654c49b035 (diff) | |
download | FreeBSD-src-45a6fabe87ae3342c49f2e351d044e60daf8dfb3.zip FreeBSD-src-45a6fabe87ae3342c49f2e351d044e60daf8dfb3.tar.gz |
Change the vnode list under the mount point from a LIST to a TAILQ
in preparation for an implementation of limiting code for kern.maxvnodes.
MFC after: 3 days
Diffstat (limited to 'sys/fs/unionfs')
-rw-r--r-- | sys/fs/unionfs/union_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c index 53c5ae6..7f3d5bd 100644 --- a/sys/fs/unionfs/union_vfsops.c +++ b/sys/fs/unionfs/union_vfsops.c @@ -333,7 +333,7 @@ union_unmount(mp, mntflags, td) /* count #vnodes held on mount list */ mtx_lock(&mntvnode_mtx); n = 0; - LIST_FOREACH(vp, &mp->mnt_vnodelist, v_mntvnodes) + TAILQ_FOREACH(vp, &mp->mnt_nvnodelist, v_nmntvnodes) n++; mtx_unlock(&mntvnode_mtx); |