Date: Mon, 28 Mar 2005 09:24:50 +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_lookup.c Message-ID: <200503280924.j2S9Ook1025187@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2005-03-28 09:24:50 UTC FreeBSD src repository Modified files: sys/kern vfs_lookup.c Log: - Get rid of PDIRUNLOCK, instead, we fixup the lock state immediately after calling VOP_LOOKUP(). Rather than having each filesystem check the LOCKPARENT flag, we simply check it once here and unlock as required. The only unusual case is ISDOTDOT, where we require an unlocked vnode on return. Relocking this vnode with the child locked is allowed since the child is actually its parent. - Add a few asserts for some unusual conditions that I do not believe can happen. These will later go away and turn into implementations for these conditions. Sponsored by: Isilon Systems, Inc. Revision Changes Path 1.73 +51 -13 src/sys/kern/vfs_lookup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503280924.j2S9Ook1025187>