summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_cache.c
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-06-27 22:10:07 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-06-27 22:10:07 +0000
commit1900a37cef3c63f76cd1535037d9302f4152a8de (patch)
tree6e08a25ecfc435f9de356f6365942fedf7d421fe /sys/kern/vfs_cache.c
parent2c796ad6408184cf2bb690fa55a4fb5c6a894f35 (diff)
downloadFreeBSD-src-1900a37cef3c63f76cd1535037d9302f4152a8de.zip
FreeBSD-src-1900a37cef3c63f76cd1535037d9302f4152a8de.tar.gz
MFC r292384:
Fix style issues around existing SDT probes. ** Changes to sys/netinet/in_kdtrace.c and sys/netinet/in_kdtrace.h skipped.
Diffstat (limited to 'sys/kern/vfs_cache.c')
-rw-r--r--sys/kern/vfs_cache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index ca69c6e..4c123fd 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -418,7 +418,6 @@ cache_zap(ncp)
rw_assert(&cache_lock, RA_WLOCKED);
CTR2(KTR_VFS, "cache_zap(%p) vp %p", ncp, ncp->nc_vp);
-#ifdef KDTRACE_HOOKS
if (ncp->nc_vp != NULL) {
SDT_PROBE3(vfs, namecache, zap, done, ncp->nc_dvp,
nc_get_name(ncp), ncp->nc_vp);
@@ -426,7 +425,6 @@ cache_zap(ncp)
SDT_PROBE2(vfs, namecache, zap_negative, done, ncp->nc_dvp,
nc_get_name(ncp));
}
-#endif
vp = NULL;
LIST_REMOVE(ncp, nc_hash);
if (ncp->nc_flag & NCF_ISDOTDOT) {
OpenPOWER on IntegriCloud