diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2018-05-27 06:02:16 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2018-05-27 06:02:16 +0000 |
commit | 8e4bc01cbdf7ca1a1a77219b742a496f8cc29087 (patch) | |
tree | c8bd46cd06278e2a2e3dbdd55b3e8e4ca90be921 /sys/tmpfs/tmpfs_subr.c | |
parent | 4299f29c929116884e41aa3622afa672eb6c591f (diff) |
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; |