diff options
author | 2018-05-27 06:02:14 +0000 | |
---|---|---|
committer | 2018-05-27 06:02:14 +0000 | |
commit | 08107a0b7d66fc523db27a131ca819e179fb022c (patch) | |
tree | dec151949c5d42646c0506366997d59fb2f1e1c0 /sys/tmpfs/tmpfs_subr.c | |
parent | Delete obsolete reference to setting segment registers (diff) | |
download | wireguard-openbsd-08107a0b7d66fc523db27a131ca819e179fb022c.tar.xz wireguard-openbsd-08107a0b7d66fc523db27a131ca819e179fb022c.zip |
Drop unnecessary `p' parameter from vget(9).
OK mpi@
Diffstat (limited to 'sys/tmpfs/tmpfs_subr.c')
-rw-r--r-- | sys/tmpfs/tmpfs_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/tmpfs/tmpfs_subr.c b/sys/tmpfs/tmpfs_subr.c index 6216a56efb5..3b9465107d1 100644 --- a/sys/tmpfs/tmpfs_subr.c +++ b/sys/tmpfs/tmpfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmpfs_subr.c,v 1.20 2018/05/02 02:24:56 visa Exp $ */ +/* $OpenBSD: tmpfs_subr.c,v 1.21 2018/05/27 06:02:15 visa Exp $ */ /* $NetBSD: tmpfs_subr.c,v 1.79 2012/03/13 18:40:50 elad Exp $ */ /* @@ -281,7 +281,7 @@ again: /* atomic_or_ulong(&node->tn_gen, TMPFS_RECLAIMING_BIT); */ node->tn_gen |= TMPFS_RECLAIMING_BIT; rw_exit_write(&node->tn_nlock); - error = vget(vp, LK_EXCLUSIVE, curproc); + error = vget(vp, LK_EXCLUSIVE); if (error == ENOENT) { rw_enter_write(&node->tn_nlock); goto again; |