Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libp2k Fix file handles. Problem reported & fix tested ...
details: https://anonhg.NetBSD.org/src/rev/1989a59e86fb
branches: trunk
changeset: 760537:1989a59e86fb
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Jan 07 10:18:06 2011 +0000
description:
Fix file handles. Problem reported & fix tested by kefren.
diffstat:
lib/libp2k/p2k.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e9a7b079fd30 -r 1989a59e86fb lib/libp2k/p2k.c
--- a/lib/libp2k/p2k.c Fri Jan 07 03:12:27 2011 +0000
+++ b/lib/libp2k/p2k.c Fri Jan 07 10:18:06 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: p2k.c,v 1.49 2011/01/02 13:01:45 pooka Exp $ */
+/* $NetBSD: p2k.c,v 1.50 2011/01/07 10:18:06 pooka Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Antti Kantee. All Rights Reserved.
@@ -634,7 +634,7 @@
p2k_fs_nodetofh(struct puffs_usermount *pu, puffs_cookie_t cookie, void *fid,
size_t *fidsize)
{
- struct vnode *vp = cookie;
+ struct vnode *vp = OPC2VP(cookie);
return rump_pub_vfs_vptofh(vp, fid, fidsize);
}
Home |
Main Index |
Thread Index |
Old Index