Date: Tue, 1 Jun 2004 11:03:21 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c vfs_vnops.c Message-ID: <200406011803.i51I3LB0052940@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406011803.i51I3LB0052940>