Plug a name cache lock leak.
Reviewed by: mjg MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
a18f840bcf
commit
bfea63b90b
@ -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