Make struct vfsopt{list} private to vfs_mount.c
This commit is contained in:
parent
28a46c9c9c
commit
bcbc430a4b
@ -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.)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user