Date: Mon, 24 Mar 2008 04:17:35 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_vnops.c Message-ID: <200803240417.m2O4HZJe045219@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2008-03-24 04:17:35 UTC FreeBSD src repository Modified files: sys/kern vfs_vnops.c Log: - Don't acquire the vnode interlock in _vn_lock() unless no lock type is requested. Handle this case specially before the while loop. - Use the held vnode lock to check for VI_DOOMED. The vnode lock and interlock must both be held to set VI_DOOMED so either one held, even shared, is sufficient to check it. No objection by: kib Revision Changes Path 1.259 +13 -19 src/sys/kern/vfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803240417.m2O4HZJe045219>