mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
- Assert that we're not adding a doomed vnode to the name cache.
Sponsored by: Isilon Systems, Inc.
This commit is contained in:
parent
217578215b
commit
1b2da2d0fa
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue