mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 11:31:08 +01:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326438
@ -1162,6 +1162,8 @@ retry_dotdot:
|
||||
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