There is only one spare MNT_ flag left, and I want to use it for NFSv4 ACLs.

Make room for additional filesystem flags now, to avoid breaking ABI later.

Reviewed by:	kib@
This commit is contained in:
Edward Tomasz Napierala 2009-05-29 15:00:04 +00:00
parent 1191932a65
commit 61cea48268
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193041

View File

@ -167,6 +167,7 @@ struct mount {
int mnt_writeopcount; /* (i) write syscalls pending */
int mnt_kern_flag; /* (i) kernel only flags */
u_int mnt_flag; /* (i) flags shared with user */
u_int mnt_xflag; /* (i) more flags shared with user */
u_int mnt_noasync; /* (i) # noasync overrides */
struct vfsoptlist *mnt_opt; /* current mount options */
struct vfsoptlist *mnt_optnew; /* new options passed to fs */
@ -221,7 +222,7 @@ void __mnt_vnode_markerfree(struct vnode **mvp, struct mount *mp);
#endif /* _KERNEL */
/*
* User specifiable flags.
* User specifiable flags, stored in mnt_flag.
*/
#define MNT_RDONLY 0x00000001 /* read only filesystem */
#define MNT_SYNCHRONOUS 0x00000002 /* filesystem written synchronously */