Date: Sun, 1 Apr 2007 13:08:05 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_mount.c Message-ID: <200704011308.l31D85Jt004003@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2007-04-01 13:08:05 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_mount.c
Log:
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
dirs).
The latter will be quite dangerous, but those flags are reset later in
vfs_domount().
MFC after: 1 month
Revision Changes Path
1.250 +0 -3 src/sys/kern/vfs_mount.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704011308.l31D85Jt004003>
