Module Name:    src
Committed By:   pooka
Date:           Sun Oct 18 16:02:15 UTC 2009

Modified Files:
        src/usr.sbin/puffs/rump_nfs: rump_nfs.c

Log Message:
Remove threading ifdefs.  It was never easy to run the nfs client
without threads, but now it's even more difficult due to sillyrename
using workqueue, so whoever wants to do it will have to take to
manual fiddling.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/puffs/rump_nfs/rump_nfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/puffs/rump_nfs/rump_nfs.c
diff -u src/usr.sbin/puffs/rump_nfs/rump_nfs.c:1.8 src/usr.sbin/puffs/rump_nfs/rump_nfs.c:1.9
--- src/usr.sbin/puffs/rump_nfs/rump_nfs.c:1.8	Sun Oct 18 15:57:15 2009
+++ src/usr.sbin/puffs/rump_nfs/rump_nfs.c	Sun Oct 18 16:02:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump_nfs.c,v 1.8 2009/10/18 15:57:15 pooka Exp $	*/
+/*	$NetBSD: rump_nfs.c,v 1.9 2009/10/18 16:02:15 pooka Exp $	*/
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -47,20 +47,6 @@
 	char canon_dev[MAXPATHLEN], canon_dir[MAXPATHLEN];
 	int rv, mntflags;
 
-#if 0
-	extern int rumpns_nfs_niothreads; /* XXX */
-	char *thr;
-	/*
-	 * XXX: but we can't call rump init before we detach (fork()) in
-	 * p2k_run_fs() lest we lose our threads.
-	 */
-	thr = getenv("RUMP_THREADS");
-	if (!thr || !*thr)
-		rumpns_nfs_niothreads = 0;
-#else
-	setenv("RUMP_THREADS", "1", 1);
-#endif
-
 	setprogname(argv[0]);
 	mount_nfs_parseargs(argc, argv, &args, &mntflags, canon_dev, canon_dir);
 

Reply via email to