cvs commit: src/sys/kern vfs_mount.c

Craig Rodrigues rodrigc at FreeBSD.org
Sat Jul 12 20:12:49 UTC 2008


rodrigc     2008-07-12 20:12:40 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_mount.c 
  Log:
  SVN rev 180484 on 2008-07-12 20:12:40Z by rodrigc
  
  In nmount(), if we see "update" in the mount options,
  set MNT_UPDATE in fsflags, and delete the
  "update" option from the global mount options.
  
  MNT_UPDATE is a command, and not a property of a mount
  that should persist after the command is executed.
  
  We need to do similar things for MNT_FORCE and MNT_RELOAD.
  
  All mount flags are prefixed by MNT_..... it would
  be nice if flags which were commands were named differently
  from flags which are persistent properties of a mount.
  This was not such a big deal in the pre-nmount() days,
  but with nmount() it is more important.
  
  Requested by:   yar
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.285     +5 -4      src/sys/kern/vfs_mount.c


More information about the cvs-src mailing list