Make struct vfsopt{list} private to vfs_mount.c

This commit is contained in:
phk 2004-12-06 12:36:17 +00:00
parent 28a46c9c9c
commit bcbc430a4b
2 changed files with 10 additions and 7 deletions

View File

@ -119,6 +119,14 @@ struct mntlist mountlist = TAILQ_HEAD_INITIALIZER(mountlist);
/* For any iteration/modification of mountlist */
struct mtx mountlist_mtx;
TAILQ_HEAD(vfsoptlist, vfsopt);
struct vfsopt {
TAILQ_ENTRY(vfsopt) link;
char *name;
void *value;
int len;
};
/*
* The vnode of the system's root (/ in the filesystem, without chroot
* active.)

View File

@ -125,13 +125,8 @@ struct ostatfs {
#define MMAXOPTIONLEN 65536 /* maximum length of a mount option */
TAILQ_HEAD(vnodelst, vnode);
TAILQ_HEAD(vfsoptlist, vfsopt);
struct vfsopt {
TAILQ_ENTRY(vfsopt) link;
char *name;
void *value;
int len;
};
struct vfsoptlist;
struct vfsopt;
/*
* Structure per mounted filesystem. Each mounted filesystem has an