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:
Mateusz Guzik
2020-08-10 10:34:22 +00:00
parent 7f70080150
commit 21d5af2b30
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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;
-1
View File
@@ -153,7 +153,6 @@ vop_close {
vop_fplookup_vexec {
IN struct vnode *vp;
IN struct ucred *cred;
IN struct thread *td;
};