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

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
jeff 2005-06-11 08:47:30 +00:00
parent 4729e22704
commit 8a4fe36603

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;