Module Name:    src
Committed By:   pooka
Date:           Mon Dec 13 14:03:59 UTC 2010

Modified Files:
        src/sys/rump/librump/rumpkern: rump.c

Log Message:
stubs to make life easier


To generate a diff of this commit:
cvs rdiff -u -r1.210 -r1.211 src/sys/rump/librump/rumpkern/rump.c

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

Modified files:

Index: src/sys/rump/librump/rumpkern/rump.c
diff -u src/sys/rump/librump/rumpkern/rump.c:1.210 src/sys/rump/librump/rumpkern/rump.c:1.211
--- src/sys/rump/librump/rumpkern/rump.c:1.210	Sun Dec 12 17:11:33 2010
+++ src/sys/rump/librump/rumpkern/rump.c	Mon Dec 13 14:03:59 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump.c,v 1.210 2010/12/12 17:11:33 pooka Exp $	*/
+/*	$NetBSD: rump.c,v 1.211 2010/12/13 14:03:59 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.210 2010/12/12 17:11:33 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.211 2010/12/13 14:03:59 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -144,6 +144,10 @@
 void rump__unavailable_vfs_panic() {panic("vfs component not available");}
 __weak_alias(usermount_common_policy,rump__unavailable_vfs_panic);
 
+/* easier to write vfs-less clients */
+__weak_alias(rump_pub_etfs_register,rump__unavailable);
+__weak_alias(rump_pub_etfs_remove,rump__unavailable);
+
 rump_proc_vfs_init_fn rump_proc_vfs_init;
 rump_proc_vfs_release_fn rump_proc_vfs_release;
 

Reply via email to