Date: Sat, 26 Dec 2009 22:44:24 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: Joseph Koshy <jkoshy@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r201021 - in head/sys: dev/hwpmc sys Message-ID: <20091226204424.GE2170@deviant.kiev.zoral.com.ua> In-Reply-To: <200912261358.nBQDwqq4011999@svn.freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] > + freepath = NULL; > + pmc_getfilename(vp, &fullpath, &freepath); > + last_vp = vp; > + vrele(vp); > + vp = NULL; You should do VFS_LOCK_GIANT/VFS_UNLOCK_GIANT around vrele(), since vrele() may need to acquire vnode lock and inactivate the vnode. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAks2dacACgkQC3+MBN1Mb4hgjgCfYCoG+4+KFcOv8ztmPEFJ/4b5 kH4Anjxf5VPh5wfio4NwnArkLxfk/AAB =xdWD -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091226204424.GE2170>
