]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Use explicit locking in the various fcntl case statements so that we
authorjeff <jeff@FreeBSD.org>
Tue, 3 Jul 2007 21:26:06 +0000 (21:26 +0000)
committerjeff <jeff@FreeBSD.org>
Tue, 3 Jul 2007 21:26:06 +0000 (21:26 +0000)
commitaf5bbfbc7b6a610f0c44a56a7b2d81b96be9b1b5
treed2ce26ada9bb7d6e426399ada65316e7664e48f4
parent4c779e4b9e4e1dbffd06d557d8df81037bd1e133
 - Use explicit locking in the various fcntl case statements so that we
   can acquire shared filedescriptor locks in the appropriate cases.
 - Remove Giant from calls that issue ioctls.  The ioctl path has been
   mpsafe for some time now.
 - Only acquire giant for VOP_ADVLOCK when the filesystem requires giant.
   advlock is now mpsafe.

Reviewed by: rwatson
Approved by: re
sys/kern/kern_descrip.c