Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern run shutdownhooks



details:   https://anonhg.NetBSD.org/src/rev/1a986ca8503a
branches:  trunk
changeset: 787067:1a986ca8503a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri May 31 16:16:40 2013 +0000

description:
run shutdownhooks

diffstat:

 sys/rump/librump/rumpkern/rump.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r c52722b55c7c -r 1a986ca8503a sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Fri May 31 15:11:07 2013 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Fri May 31 16:16:40 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.269 2013/05/15 14:07:26 pooka Exp $ */
+/*     $NetBSD: rump.c,v 1.270 2013/05/31 16:16:40 pooka Exp $ */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.269 2013/05/15 14:07:26 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.270 2013/05/31 16:16:40 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -568,6 +568,8 @@
                        rump_vfs_fini();
        }
 
+       doshutdownhooks();
+
        /* your wish is my command */
        if (howto & RB_HALT) {
                printf("rump kernel halted\n");



Home | Main Index | Thread Index | Old Index