Author: mjg Date: Mon Aug 10 10:34:22 2020 New Revision: 364065 URL: https://svnweb.freebsd.org/changeset/base/364065
Log: vfs: drop the thread argumemnt from vfs_fplookup_vexec It is guaranteed curthread. Tested by: pho Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/vfs_cache.c head/sys/kern/vnode_if.src Modified: head/sys/kern/vfs_cache.c ============================================================================== --- head/sys/kern/vfs_cache.c Mon Aug 10 10:33:40 2020 (r364064) +++ head/sys/kern/vfs_cache.c Mon Aug 10 10:34:22 2020 (r364065) @@ -3938,7 +3938,7 @@ cache_fplookup_impl(struct vnode *dvp, struct cache_fp VNPASS(cache_fplookup_vnode_supported(fpl->dvp), fpl->dvp); - error = VOP_FPLOOKUP_VEXEC(fpl->dvp, cnp->cn_cred, cnp->cn_thread); + error = VOP_FPLOOKUP_VEXEC(fpl->dvp, cnp->cn_cred); if (__predict_false(error != 0)) { error = cache_fplookup_failed_vexec(fpl, error); break; Modified: head/sys/kern/vnode_if.src ============================================================================== --- head/sys/kern/vnode_if.src Mon Aug 10 10:33:40 2020 (r364064) +++ head/sys/kern/vnode_if.src Mon Aug 10 10:34:22 2020 (r364065) @@ -153,7 +153,6 @@ vop_close { vop_fplookup_vexec { IN struct vnode *vp; IN struct ucred *cred; - IN struct thread *td; }; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"