Date: Sat, 31 Mar 2007 23:57:17 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys vnode.h src/sys/kern vfs_subr.c Message-ID: <200703312357.l2VNvHZ7011167@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2007-03-31 23:57:17 UTC FreeBSD src repository Modified files: sys/sys vnode.h sys/kern vfs_subr.c Log: Make vdropl() public; zfs needs it. There is also plenty of existing file system code (mostly *_reclaim()) which look like this: VOP_LOCK(vp); /* examine vp */ VOP_UNLOCK(vp); vdrop(vp); This can now be rewritten to: VOP_LOCK(vp); /* examine vp */ vdropl(vp); /* will unlock vp */ MFC after: 1 week Revision Changes Path 1.695 +1 -2 src/sys/kern/vfs_subr.c 1.323 +1 -0 src/sys/sys/vnode.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703312357.l2VNvHZ7011167>