aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-08-16 17:18:54 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-08-16 17:18:54 +0000
commita92a971bbb94ad5b44e2a5bbdc669ad3ae762c8d (patch)
tree2b25fe1e41aaf0791b26dd5a4b8ad0cad897fe6e /sys/sys/vnode.h
parentd59f3890c36601f4f62bb4a0b7db977e42339588 (diff)
downloadsrc-a92a971bbb94ad5b44e2a5bbdc669ad3ae762c8d.tar.gz
src-a92a971bbb94ad5b44e2a5bbdc669ad3ae762c8d.zip
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)
Notes
Notes: svn path=/head/; revision=364271
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h2
1 files changed, 1 insertions, 1 deletions
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);