Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libp2k Simplify now that ukfs deals with being called fr...
details: https://anonhg.NetBSD.org/src/rev/7a5ec6ff39ea
branches: trunk
changeset: 757612:7a5ec6ff39ea
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Sep 07 17:22:53 2010 +0000
description:
Simplify now that ukfs deals with being called from a thread which
already has a rump lwp context.
diffstat:
lib/libp2k/p2k.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diffs (32 lines):
diff -r 9dc4e3feb128 -r 7a5ec6ff39ea lib/libp2k/p2k.c
--- a/lib/libp2k/p2k.c Tue Sep 07 17:16:18 2010 +0000
+++ b/lib/libp2k/p2k.c Tue Sep 07 17:22:53 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: p2k.c,v 1.43 2010/09/07 17:16:19 pooka Exp $ */
+/* $NetBSD: p2k.c,v 1.44 2010/09/07 17:22:53 pooka Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Antti Kantee. All Rights Reserved.
@@ -560,14 +560,10 @@
{
struct p2k_mount *p2m = puffs_getspecific(pu);
struct ukfs *fs = p2m->p2m_ukfs;
- struct lwp *l;
int error = 0;
rump_pub_vp_rele(p2m->p2m_rvp);
- l = rump_pub_lwproc_curlwp();
- rump_pub_lwproc_switch(NULL); /* ukfs & curlwp tricks */
-
if (fs) {
if (ukfs_release(fs, 0) != 0) {
ukfs_release(fs, UKFS_RELFLAG_FORCE);
@@ -575,7 +571,6 @@
}
}
p2m->p2m_ukfs = NULL;
- rump_pub_lwproc_switch(l);
if (p2m->p2m_hasdebug) {
printf("-- rump kernel event counters --\n");
Home |
Main Index |
Thread Index |
Old Index