1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Make struct vfsopt{list} private to vfs_mount.c

This commit is contained in:
Poul-Henning Kamp 2004-12-06 12:36:17 +00:00
parent bed8b887ea
commit a804d99c40
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138444
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