Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/sys/kern Pull up following revision(s) (requested by hann...
details: https://anonhg.NetBSD.org/src/rev/ebb8a0d77add
branches: netbsd-3
changeset: 577470:ebb8a0d77add
user: tron <tron%NetBSD.org@localhost>
date: Wed Nov 09 12:25:15 2005 +0000
description:
Pull up following revision(s) (requested by hannken in ticket #944):
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 12a55c0b6eb0 -r ebb8a0d77add sys/kern/vfs_vnops.c
--- a/sys/kern/vfs_vnops.c Wed Nov 09 11:13:40 2005 +0000
+++ b/sys/kern/vfs_vnops.c Wed Nov 09 12:25:15 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_vnops.c,v 1.86.2.9 2005/10/15 21:32:34 riz Exp $ */
+/* $NetBSD: vfs_vnops.c,v 1.86.2.10 2005/11/09 12:25:15 tron Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.86.2.9 2005/10/15 21:32:34 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.86.2.10 2005/11/09 12:25:15 tron Exp $");
#include "opt_verified_exec.h"
@@ -249,7 +249,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