Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 00:28:46 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Don Lewis <dl-freebsd@catspoiler.org>
Cc:        rwatson@FreeBSD.ORG, <current@FreeBSD.ORG>, <jeff@FreeBSD.ORG>
Subject:   Re: vnode lock assertion problem in nfs_link()
Message-ID:  <20020911000503.L1981-100000@gamplex.bde.org>
In-Reply-To: <200209101154.g8ABsdwr094898@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 Sep 2002, Don Lewis wrote:

I have just one thing to add to Robert's reply.

> BTW, is it safe to call ASSERT_VOP_UNLOCKED() in the SMP case after the
> reference has been dropped with vput() or vrele()?

I think it is.  It has some internal locking (v_interlock at least), and
only asserts that the vnode is unlocked by curthread so it doesn't matter
if another thread locks it.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020911000503.L1981-100000>