diff options
author | phk <phk@FreeBSD.org> | 2004-03-11 16:59:57 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-03-11 16:59:57 +0000 |
commit | 9ba3cede82df59c4fc45ffe6b8f44950eef74c6b (patch) | |
tree | 585f33b2de6d9f65cb6aac17be962d7facbbfa78 /sys | |
parent | eeb7579130ee3380d0348cb447d9c484c6c4b45e (diff) | |
download | FreeBSD-src-9ba3cede82df59c4fc45ffe6b8f44950eef74c6b.zip FreeBSD-src-9ba3cede82df59c4fc45ffe6b8f44950eef74c6b.tar.gz |
Remove unused mnt_reservedvnlist field.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 1 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 1 | ||||
-rw-r--r-- | sys/kern/vfs_mount.c | 1 | ||||
-rw-r--r-- | sys/sys/mount.h | 7 |
4 files changed, 0 insertions, 10 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 13e9cbd..09f8f01 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -133,7 +133,6 @@ 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 13e9cbd..09f8f01 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -133,7 +133,6 @@ 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/kern/vfs_mount.c b/sys/kern/vfs_mount.c index e675038..ff52a43 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -492,7 +492,6 @@ vfs_mount_alloc(struct vnode *vp, struct vfsconf *vfsp, mp = malloc(sizeof(struct mount), M_MOUNT, M_WAITOK | M_ZERO); TAILQ_INIT(&mp->mnt_nvnodelist); - TAILQ_INIT(&mp->mnt_reservedvnlist); mp->mnt_nvnodelistsize = 0; mtx_init(&mp->mnt_mtx, "struct mount mtx", NULL, MTX_DEF); lockinit(&mp->mnt_lock, PVFS, "vfslock", 0, LK_NOPAUSE); diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 01dbaf1..6fed967 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -142,12 +142,6 @@ struct vfsopt { * array of operations and an instance record. The filesystems are * put on a doubly linked list. * - * NOTE: mnt_nvnodelist and mnt_reservedvnlist. At the moment vnodes - * are linked into mnt_nvnodelist. At some point in the near future the - * vnode list will be split into a 'dirty' and 'clean' list. mnt_nvnodelist - * will become the dirty list and mnt_reservedvnlist will become the 'clean' - * list. Filesystem kld's syncing code should remain compatible since - * they only need to scan the dirty vnode list (nvnodelist -> dirtyvnodelist). */ struct mount { TAILQ_ENTRY(mount) mnt_list; /* mount list */ @@ -156,7 +150,6 @@ struct mount { struct vnode *mnt_vnodecovered; /* vnode we mounted on */ struct vnode *mnt_syncer; /* syncer vnode */ struct vnodelst mnt_nvnodelist; /* list of vnodes this mount */ - struct vnodelst mnt_reservedvnlist; /* (future) dirty vnode list */ struct lock mnt_lock; /* mount structure lock */ struct mtx mnt_mtx; /* mount structure interlock */ int mnt_writeopcount; /* write syscalls in progress */ |