pjd 2007-04-01 13:08:05 UTC
FreeBSD src repository
I think the code I'm removing here is completely bogus.
vfs_flags field is used for VFCF_* flags which are given at file system
driver creation time (via VFS_SET(9)) macro.
What this code did was bascially this:
If file system registers itself with VFCF_UNICODE flag (stores file names
as Unicode), it will gain MNT_SOFTDEP flag (UFS soft-updates).
If file system registers itself with VFCF_LOOPBACK flag (aliases some other
mounted FS), it will gain MNT_SUIDDIR flag (special handling of SUID on
The latter will be quite dangerous, but those flags are reset later in
MFC after: 1 month
Revision Changes Path
1.250 +0 -3 src/sys/kern/vfs_mount.c