- Assert that we're not adding a doomed vnode to the name cache.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
Jeff Roberson 2005-06-11 08:47:30 +00:00
parent 217578215b
commit 1b2da2d0fa

View file

@ -474,6 +474,9 @@ cache_enter(dvp, vp, cnp)
int zap;
int len;
VNASSERT(vp == NULL || (vp->v_iflag & VI_DOOMED) == 0, vp,
("cahe_enter: Adding a doomed vnode"));
if (!doingcache)
return;