Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpdev call config_create_mountrootthreads...
details: https://anonhg.NetBSD.org/src/rev/fe3fcb6e0db3
branches: trunk
changeset: 796670:fe3fcb6e0db3
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Jun 13 15:51:13 2014 +0000
description:
call config_create_mountrootthreads(), if applicable
diffstat:
sys/rump/librump/rumpdev/rump_dev.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r dfbe754f48e2 -r fe3fcb6e0db3 sys/rump/librump/rumpdev/rump_dev.c
--- a/sys/rump/librump/rumpdev/rump_dev.c Fri Jun 13 15:45:05 2014 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev.c Fri Jun 13 15:51:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_dev.c,v 1.25 2014/04/04 01:35:11 christos Exp $ */
+/* $NetBSD: rump_dev.c,v 1.26 2014/06/13 15:51:13 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.25 2014/04/04 01:35:11 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.26 2014/06/13 15:51:13 pooka Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -72,6 +72,12 @@
config_finalize();
KERNEL_UNLOCK_LAST(curlwp);
+
+ /* if there is a vfs, perform activity deferred until mountroot */
+ if (rump_component_count(RUMP__FACTION_VFS)) {
+ config_create_mountrootthreads();
+ yield();
+ }
}
void
Home |
Main Index |
Thread Index |
Old Index