- Assert that we're not adding a doomed vnode to the name cache.
Sponsored by: Isilon Systems, Inc.
This commit is contained in:
parent
4729e22704
commit
8a4fe36603
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user