Plug a name cache lock leak.
Reviewed by: mjg MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
8e0cd68ff4
commit
e1703ef5ae
@ -1162,6 +1162,8 @@ cache_lookup_nomakeentry(struct vnode *dvp, struct vnode **vpp,
|
||||
SDT_PROBE3(vfs, namecache, lookup, miss, dvp,
|
||||
"..", NULL);
|
||||
mtx_unlock(dvlp);
|
||||
if (dvlp2 != NULL)
|
||||
mtx_unlock(dvlp2);
|
||||
return (0);
|
||||
}
|
||||
if ((ncp->nc_flag & NCF_ISDOTDOT) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user