Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/kern Pull up following revision(s) (requested by ha...
details: https://anonhg.NetBSD.org/src/rev/85d76962a893
branches: netbsd-2-0
changeset: 564907:85d76962a893
user: riz <riz%NetBSD.org@localhost>
date: Mon Nov 14 22:16:32 2005 +0000
description:
Pull up following revision(s) (requested by hannken in ticket #5983):
sys/kern/vfs_vnops.c: revision 1.99
vput() -> vrele(). Vnode is already unlocked.
With much help from Pavel Cahyna.
Fixes PR 32005.
diffstat:
sys/kern/vfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0b6f514240f8 -r 85d76962a893 sys/kern/vfs_vnops.c
--- a/sys/kern/vfs_vnops.c Sun Nov 06 00:51:47 2005 +0000
+++ b/sys/kern/vfs_vnops.c Mon Nov 14 22:16:32 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_vnops.c,v 1.77 2004/02/14 00:00:56 hannken Exp $ */
+/* $NetBSD: vfs_vnops.c,v 1.77.2.1 2005/11/14 22:16:32 riz Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.77 2004/02/14 00:00:56 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.77.2.1 2005/11/14 22:16:32 riz Exp $");
#include "fs_union.h"
@@ -277,7 +277,7 @@
if (fmode & O_TRUNC) {
VOP_UNLOCK(vp, 0); /* XXX */
if ((error = vn_start_write(vp, &mp, V_WAIT | V_PCATCH)) != 0) {
- vput(vp);
+ vrele(vp);
return (error);
}
VOP_LEASE(vp, p, cred, LEASE_WRITE);
Home |
Main Index |
Thread Index |
Old Index