Date: Fri, 1 Dec 2017 22:51:02 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326438 - head/sys/kern Message-ID: <201712012251.vB1Mp2UK000752@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Fri Dec 1 22:51:02 2017 New Revision: 326438 URL: https://svnweb.freebsd.org/changeset/base/326438 Log: Plug a name cache lock leak. Reviewed by: mjg MFC after: 1 week Sponsored by: Dell EMC Isilon Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c ============================================================================== --- head/sys/kern/vfs_cache.c Fri Dec 1 22:48:20 2017 (r326437) +++ head/sys/kern/vfs_cache.c Fri Dec 1 22:51:02 2017 (r326438) @@ -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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712012251.vB1Mp2UK000752>