mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
This commit is contained in:
parent
c0282e1e07
commit
22443809ff
1 changed files with 0 additions and 13 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue