Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/compat/svr4 pullup rev. 1.88 from trunk (via patch, ...
details: https://anonhg.NetBSD.org/src/rev/c3e0640d237b
branches: netbsd-1-5
changeset: 489528:c3e0640d237b
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Sep 22 09:44:22 2000 +0000
description:
pullup rev. 1.88 from trunk (via patch, approved by thorpej):
svr4_sys_resolvepath(): since unlocked vnode is requested (LOCKLEAF is not
used for namei() call), we need to free it with vrele() and not vput()
This fixes kern/11044.
diffstat:
sys/compat/svr4/svr4_misc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3abe844b5702 -r c3e0640d237b sys/compat/svr4/svr4_misc.c
--- a/sys/compat/svr4/svr4_misc.c Fri Sep 22 02:42:45 2000 +0000
+++ b/sys/compat/svr4/svr4_misc.c Fri Sep 22 09:44:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_misc.c,v 1.83 2000/04/09 05:33:04 christos Exp $ */
+/* $NetBSD: svr4_misc.c,v 1.83.4.1 2000/09/22 09:44:22 jdolecek Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -1660,7 +1660,7 @@
*retval = len;
bad:
- vput(nd.ni_vp);
+ vrele(nd.ni_vp);
FREE(nd.ni_cnd.cn_pnbuf, M_NAMEI);
return error;
}
Home |
Main Index |
Thread Index |
Old Index