aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-08-27 06:30:40 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-08-27 06:30:40 +0000
commit12441fcbe2e34ad87308b5462ca59a0a212e287e (patch)
tree7acfcad3d90857244a296fc22b4ab3266c8364d9 /sys/kern
parentcbda6f66f480cf647a55da90120c882faa4ed971 (diff)
downloadsrc-12441fcbe2e34ad87308b5462ca59a0a212e287e.tar.gz
src-12441fcbe2e34ad87308b5462ca59a0a212e287e.zip
Notes
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 2c20065c8ba0..0a2dcd23a9d3 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -2938,6 +2938,7 @@ vn_fullpath_any_smr(struct vnode *vp, struct vnode *rdir, char *buf,
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);