aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_extattr.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-11-04 18:55:42 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-11-04 18:55:42 +0000
commit6b8bd2efc110b3d44e7fdad0b78de6585a09ba0c (patch)
tree61568963b6d37be55e92fb098649a0a28e127bf3 /sys/kern/vfs_extattr.c
parentc405820b59e5a3a577d1b0d5bf7afcb4216497c7 (diff)
downloadsrc-6b8bd2efc110b3d44e7fdad0b78de6585a09ba0c.tar.gz
src-6b8bd2efc110b3d44e7fdad0b78de6585a09ba0c.zip
Add mnt_reservedvnlist so we can MFC to 4.x, in order to make all mount
structure changes now rather then piecemeal later on. mnt_nvnodelist currently holds all the vnodes under the mount point. This will eventually be split into a 'dirty' and 'clean' list. This way we only break kld's once rather then twice. nvnodelist will eventually turn into the dirty list and should remain compatible with the klds.
Notes
Notes: svn path=/head/; revision=86037
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r--sys/kern/vfs_extattr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c
index 530ad1591e64..cb82b0839359 100644
--- a/sys/kern/vfs_extattr.c
+++ b/sys/kern/vfs_extattr.c
@@ -341,6 +341,7 @@ vfs_mount(td, fstype, fspath, fsflags, fsdata)
*/
mp = malloc(sizeof(struct mount), M_MOUNT, M_WAITOK | M_ZERO);
TAILQ_INIT(&mp->mnt_nvnodelist);
+ TAILQ_INIT(&mp->mnt_reservedvnlist);
lockinit(&mp->mnt_lock, PVFS, "vfslock", 0, LK_NOPAUSE);
(void)vfs_busy(mp, LK_NOWAIT, 0, td);
mp->mnt_op = vfsp->vfc_vfsops;