diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 2001-11-04 18:55:42 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 2001-11-04 18:55:42 +0000 |
commit | 6b8bd2efc110b3d44e7fdad0b78de6585a09ba0c (patch) | |
tree | 61568963b6d37be55e92fb098649a0a28e127bf3 /sys/gnu | |
parent | c405820b59e5a3a577d1b0d5bf7afcb4216497c7 (diff) | |
download | src-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/gnu')
-rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 1 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 4d9ea28968c7..b20d205f8f8a 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -142,6 +142,7 @@ ext2_mountroot() mp = bsd_malloc((u_long)sizeof(struct mount), M_MOUNT, M_WAITOK); bzero((char *)mp, (u_long)sizeof(struct mount)); TAILQ_INIT(&mp->mnt_nvnodelist); + TAILQ_INIT(&mp->mnt_reservedvnlist); mp->mnt_op = &ext2fs_vfsops; mp->mnt_flag = MNT_RDONLY; if (error = ext2_mountfs(rootvp, mp, td)) { diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index 4d9ea28968c7..b20d205f8f8a 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -142,6 +142,7 @@ ext2_mountroot() mp = bsd_malloc((u_long)sizeof(struct mount), M_MOUNT, M_WAITOK); bzero((char *)mp, (u_long)sizeof(struct mount)); TAILQ_INIT(&mp->mnt_nvnodelist); + TAILQ_INIT(&mp->mnt_reservedvnlist); mp->mnt_op = &ext2fs_vfsops; mp->mnt_flag = MNT_RDONLY; if (error = ext2_mountfs(rootvp, mp, td)) { |