Date: Wed, 24 Nov 2010 12:30:41 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <201011241230.oAOCUunr024202@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-11-24 12:30:41 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
SVN rev 215797 on 2010-11-24 12:30:41Z by kib
Allow shared-locked vnode to be passed to vunref(9).
When shared-locked vnode is supplied as an argument to vunref(9) and
resulting usecount is 0, set VI_OWEINACT and do not try to upgrade vnode
lock. The later could cause vnode unlock, allowing the vnode to be
reclaimed meantime.
Tested by: pho
MFC after: 1 week
Revision Changes Path
1.798 +15 -5 src/sys/kern/vfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011241230.oAOCUunr024202>
