From a92a971bbb94ad5b44e2a5bbdc669ad3ae762c8d Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Sun, 16 Aug 2020 17:18:54 +0000 Subject: vfs: remove the thread argument from vget It was already asserted to be curthread. Semantic patch: @@ expression arg1, arg2, arg3; @@ - vget(arg1, arg2, arg3) + vget(arg1, arg2) --- sys/sys/vnode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/sys/vnode.h') diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index 9d736483d008..7d87f70da53a 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -680,7 +680,7 @@ void vlazy(struct vnode *); void vdrop(struct vnode *); void vdropl(struct vnode *); int vflush(struct mount *mp, int rootrefs, int flags, struct thread *td); -int vget(struct vnode *vp, int flags, struct thread *td); +int vget(struct vnode *vp, int flags); enum vgetstate vget_prep_smr(struct vnode *vp); enum vgetstate vget_prep(struct vnode *vp); int vget_finish(struct vnode *vp, int flags, enum vgetstate vs); -- cgit v1.2.3