cvs commit: src/sys/kern vfs_vnops.c

Jeff Roberson jeff at FreeBSD.org
Sun Jul 3 01:09:16 GMT 2005


jeff        2005-01-24 10:31:42 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_vnops.c 
  Log:
   - Remove GIANT_REQUIRED where giant is no longer required.
   - Protect access to mnt_kern_flag with the mountpoint mutex.
   - Use the appropriate nd flags to deal with giant in vn_open_cred().
     We currently determine whether the caller is mpsafe by checking
     for a valid fdidx.  Any caller coming from user-space is now
     mpsafe and supplies a valid fd.  No kenrel callers have been
     converted to mpsafe, so this check is sufficient for now.
   - Use VFS_LOCK_GIANT instead of manual giant acquisition where
     appropriate.
  
  Sponsored By:   Isilon Systems, Inc.
  
  Revision  Changes    Path
  1.221     +81 -54    src/sys/kern/vfs_vnops.c



More information about the cvs-src mailing list