]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Remove GIANT_REQUIRED where giant is no longer required.
authorjeff <jeff@FreeBSD.org>
Mon, 24 Jan 2005 10:31:42 +0000 (10:31 +0000)
committerjeff <jeff@FreeBSD.org>
Mon, 24 Jan 2005 10:31:42 +0000 (10:31 +0000)
commitdcefe7b06bdec6cd421c2334c80fd5c8c83484b5
tree266450a1d1d24825110988776b2fe146b53a5af0
parentea989897b7611418c39945c61cd6a34da8cb1066
 - 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.
sys/kern/vfs_vnops.c