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/kern/uipc_mqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/uipc_mqueue.c') diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c index 018630ca7dad3..28fc1d84329b9 100644 --- a/sys/kern/uipc_mqueue.c +++ b/sys/kern/uipc_mqueue.c @@ -754,7 +754,7 @@ mqfs_allocv(struct mount *mp, struct vnode **vpp, struct mqfs_node *pn) found: *vpp = vd->mv_vnode; sx_xunlock(&mqfs->mi_lock); - error = vget(*vpp, LK_RETRY | LK_EXCLUSIVE, curthread); + error = vget(*vpp, LK_RETRY | LK_EXCLUSIVE); vdrop(*vpp); return (error); } -- cgit v1.2.3