Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2009 14:15:34 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Konstantin Belousov <kib@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r186276 - head/sys/kern
Message-ID:  <49BAA2C6.2000807@FreeBSD.org>
In-Reply-To: <200812181158.mBIBwC50039690@svn.freebsd.org>
References:  <200812181158.mBIBwC50039690@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Konstantin Belousov wrote:
> Author: kib
> Date: Thu Dec 18 11:58:12 2008
> New Revision: 186276
> URL: http://svn.freebsd.org/changeset/base/186276
> 
> Log:
>   Do not return success and doomed vnode from lookup. LK_UPGRADE allows
>   the vnode to be reclaimed.
>   
>   Tested by:	pho
>   MFC after:	1 month

Would EBADF be more appropriate?  That is what other places that check 
VI_DOOMED return for this type of check (e.g. in cache_lookup()).

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49BAA2C6.2000807>