Remove unused mnt_reservedvnlist field.

This commit is contained in:
Poul-Henning Kamp 2004-03-11 16:59:57 +00:00
parent 651b11eaf2
commit 2b348f7429
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126852
4 changed files with 0 additions and 10 deletions

View File

@ -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)) {

View File

@ -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)) {

View File

@ -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);

View File

@ -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 */