vfs: drop the thread argumemnt from vfs_fplookup_vexec
It is guaranteed curthread. Tested by: pho Sponsored by: The FreeBSD Foundation
This commit is contained in:
@@ -3938,7 +3938,7 @@ cache_fplookup_impl(struct vnode *dvp, struct cache_fpl *fpl)
|
||||
|
||||
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;
|
||||
|
||||
@@ -153,7 +153,6 @@ vop_close {
|
||||
vop_fplookup_vexec {
|
||||
IN struct vnode *vp;
|
||||
IN struct ucred *cred;
|
||||
IN struct thread *td;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user