cvs commit: src/sys/kern vfs_mount.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Apr 1 13:08:06 UTC 2007


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


More information about the cvs-src mailing list