summaryrefslogtreecommitdiff
path: root/sys/kern/kern_acct.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-01-16 17:52:19 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-01-16 17:52:19 +0000
commit2de0712790ae7c9f1ad5fbd4d16115b50d00b964 (patch)
tree9dd89d25cc512e0f21c86d0d63e7b0d60a9a5290 /sys/kern/kern_acct.c
parent4bd808e5f53e0cc7725f8c6e49c7cdf716a77be4 (diff)
Retire VOP_LEASE(); It was a bit for NQNFS and has
effectively been a no-op for quite some time now, without promise for future usage. ok pedro@ Testing by krw@ (earlier diff) and Johan Mson Lindman (tybollt@solace.miun.se)
Diffstat (limited to 'sys/kern/kern_acct.c')
-rw-r--r--sys/kern/kern_acct.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_acct.c b/sys/kern/kern_acct.c
index 0a229b2ebc3..262cda6a6c0 100644
--- a/sys/kern/kern_acct.c
+++ b/sys/kern/kern_acct.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_acct.c,v 1.19 2006/11/14 18:00:27 jmc Exp $ */
+/* $OpenBSD: kern_acct.c,v 1.20 2007/01/16 17:52:18 thib Exp $ */
/* $NetBSD: kern_acct.c,v 1.42 1996/02/04 02:15:12 christos Exp $ */
/*-
@@ -227,7 +227,6 @@ acct_process(struct proc *p)
/*
* Now, just write the accounting information to the file.
*/
- VOP_LEASE(vp, p, p->p_ucred, LEASE_WRITE);
error = vn_rdwr(UIO_WRITE, vp, (caddr_t)&acct, sizeof (acct),
(off_t)0, UIO_SYSSPACE, IO_APPEND|IO_UNIT, p->p_ucred, NULL, p);