cvs commit: src/sys/kern vfs_mount.c

[ Available lists | Index of cvs-src | Month of Apr 2007 | Week of 1 Apr 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Pawel Jakub Dawidek <pjd@FreeBSD.org>
Date
1 Apr 2007 13:08:06
Subject
cvs commit: src/sys/kern vfs_mount.c
Message-ID
200704011308.l31D85Jt004003@repoman.freebsd.org


[ Hide this part ]
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


Elapsed time: 0.089 seconds