diff options
author | mckusick <mckusick@FreeBSD.org> | 2011-07-24 17:43:09 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2011-07-24 17:43:09 +0000 |
commit | 64e0ba1afe60a4c7d7a1960154875516b560d46c (patch) | |
tree | 34165b8fac799217592f1def1e7cfddc8f80f2e7 /sys/kern/vfs_mount.c | |
parent | 8a4b781ce664ac2b8b5a9c0bc13114cf02c6499b (diff) | |
download | FreeBSD-src-64e0ba1afe60a4c7d7a1960154875516b560d46c.zip FreeBSD-src-64e0ba1afe60a4c7d7a1960154875516b560d46c.tar.gz |
This update changes the mnt_flag field in the mount structure from
32 bits to 64 bits and eliminates the unused mnt_xflag field. The
existing mnt_flag field is completely out of bits, so this update
gives us room to expand. Note that the f_flags field in the statfs
structure is already 64 bits, so the expanded mnt_flag field can
be exported without having to make any changes in the statfs structure.
Approved by: re (bz)
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 5edf0f5..5d6892c 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -1496,7 +1496,8 @@ vfs_getopts(struct vfsoptlist *opts, const char *name, int *error) } int -vfs_flagopt(struct vfsoptlist *opts, const char *name, u_int *w, u_int val) +vfs_flagopt(struct vfsoptlist *opts, const char *name, uint64_t *w, + uint64_t val) { struct vfsopt *opt; |