Module Name: src Committed By: pooka Date: Fri Jun 13 15:51:13 UTC 2014
Modified Files: src/sys/rump/librump/rumpdev: rump_dev.c Log Message: call config_create_mountrootthreads(), if applicable To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/rump/librump/rumpdev/rump_dev.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/rumpdev/rump_dev.c diff -u src/sys/rump/librump/rumpdev/rump_dev.c:1.25 src/sys/rump/librump/rumpdev/rump_dev.c:1.26 --- src/sys/rump/librump/rumpdev/rump_dev.c:1.25 Fri Apr 4 01:35:11 2014 +++ src/sys/rump/librump/rumpdev/rump_dev.c Fri Jun 13 15:51:13 2014 @@ -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 @@ RUMP_COMPONENT(RUMP__FACTION_DEV) 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