[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-commits-all
Subject:    cvs commit: src/sys/kern vfs_mount.c
From:       Ian Dowse <iedowse () freebsd ! org>
Date:       2003-11-30 23:30:09
[Download RAW message or body]

iedowse     2003/11/30 15:30:09 PST

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_mount.c 
  Log:
  In dounmount(), only call checkdirs() prior to VFS_UNMOUNT() in the
  forced unmount case. Otherwise, a file system that is referenced
  only by process fd_cdir/fd_rdir references to the file system root
  vnode will be successfully unmounted without the MNT_FORCE flag.
  
  The previous behaviour was not compatible with the unmount semantics
  required by amd(8), so file systems could be unexpectedly unmounted
  while there were still references to the file system root directory.
  
  Reported by:    Erez Zadok <ezk@cs.sunysb.edu>
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.117     +7 -3      src/sys/kern/vfs_mount.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic