Date: Thu, 29 Nov 2018 09:32:59 +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: r341222 - head/sys/kern Message-ID: <201811290932.wAT9WxNt013144@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Thu Nov 29 09:32:59 2018 New Revision: 341222 URL: https://svnweb.freebsd.org/changeset/base/341222 Log: 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 Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c ============================================================================== --- head/sys/kern/vfs_cache.c Thu Nov 29 09:19:48 2018 (r341221) +++ head/sys/kern/vfs_cache.c Thu Nov 29 09:32:59 2018 (r341222) @@ -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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811290932.wAT9WxNt013144>