svn commit: r364856 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Thu Aug 27 06:30:41 UTC 2020
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);
More information about the svn-src-all
mailing list