cvs commit: src/sys/kern kern_descrip.c vfs_vnops.c
Robert Watson
rwatson at FreeBSD.org
Tue Jun 1 11:03:31 PDT 2004
rwatson 2004/06/01 11:03:20 PDT
FreeBSD src repository
Modified files:
sys/kern kern_descrip.c vfs_vnops.c
Log:
Push the VOP_ADVLOCK() call to release advisory locks on vnode file
descriptors out of fdrop_locked() and into vn_closefile(). This
removes all knowledge of vnodes from fdrop_locked(), since the lock
behavior was specific to vnodes. This also removes the specific
requirement for Giant in fdrop_locked(), it's now only required by
code that it calls into.
Add GIANT_REQUIRED to vn_closefile() since VFS requires Giant.
Revision Changes Path
1.231 +1 -11 src/sys/kern/kern_descrip.c
1.200 +18 -1 src/sys/kern/vfs_vnops.c
More information about the cvs-src
mailing list