Date: Thu, 27 Aug 2020 06:30:40 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r364856 - head/sys/kern Message-ID: <202008270630.07R6Ueaa048656@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Thu Aug 27 06:30:40 2020 New Revision: 364856 URL: https://svnweb.freebsd.org/changeset/base/364856 Log: cache: ncp = NULL early to account for sdt probes in ailure path CID: 1432106 Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c ============================================================================== --- head/sys/kern/vfs_cache.c Thu Aug 27 05:11:15 2020 (r364855) +++ head/sys/kern/vfs_cache.c Thu Aug 27 06:30:40 2020 (r364856) @@ -2938,6 +2938,7 @@ vn_fullpath_any_smr(struct vnode *vp, struct vnode *rd i = 0; #endif error = -1; + ncp = NULL; /* for sdt probe down below */ vp_seqc = vn_seqc_read_any(vp); if (seqc_in_modify(vp_seqc)) { cache_rev_failed(&reason);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008270630.07R6Ueaa048656>