Date: Thu, 22 Aug 2002 00:44:45 -0700 (PDT) From: Jeff Roberson <jeff@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c vfs_vnops.c Message-ID: <200208220744.g7M7ijuY029506@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2002/08/22 00:44:45 PDT
Modified files:
sys/kern vfs_subr.c vfs_vnops.c
Log:
- Make vn_lock() vget() and VOP_LOCK() all behave the same way WRT
LK_INTERLOCK. The interlock will never be held on return from these
functions even when there is an error. Errors typically only occur when
the XLOCK is held which means this isn't the vnode we want anyway. Almost
all users of these interfaces expected this behavior even though it was
not provided before.
Revision Changes Path
1.397 +7 -15 src/sys/kern/vfs_subr.c
1.169 +2 -3 src/sys/kern/vfs_vnops.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208220744.g7M7ijuY029506>
