aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2018-11-29 09:32:59 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2018-11-29 09:32:59 +0000
commit22443809ff669d5fdabef11e470a6682ca20318c (patch)
tree138cc366b0acc0c937892dbf08488a982c95006a /sys/kern
parentc0282e1e071146b15253009b8f6c28123f46d00b (diff)
downloadsrc-22443809ff669d5fdabef11e470a6682ca20318c.tar.gz
src-22443809ff669d5fdabef11e470a6682ca20318c.zip
cache: retire cache_enter compat schim
It was added over 6 years ago for binary compat. cache_enter macro remains as it expands to cache_enter_time. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=341222
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_cache.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 627e9d0c7a8d..4d416b5e4dbe 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -2452,19 +2452,6 @@ vn_commname(struct vnode *vp, char *buf, u_int buflen)
return (0);
}
-/* ABI compat shims for old kernel modules. */
-#undef cache_enter
-
-void cache_enter(struct vnode *dvp, struct vnode *vp,
- struct componentname *cnp);
-
-void
-cache_enter(struct vnode *dvp, struct vnode *vp, struct componentname *cnp)
-{
-
- cache_enter_time(dvp, vp, cnp, NULL, NULL);
-}
-
/*
* This function updates path string to vnode's full global path
* and checks the size of the new path string against the pathlen argument.