Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Don't detach devices if we are dumping core.
details: https://anonhg.NetBSD.org/src/rev/b31932378529
branches: trunk
changeset: 343294:b31932378529
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 28 16:32:40 2016 +0000
description:
Don't detach devices if we are dumping core.
diffstat:
sys/kern/subr_autoconf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 06e11b09a7de -r b31932378529 sys/kern/subr_autoconf.c
--- a/sys/kern/subr_autoconf.c Thu Jan 28 14:41:39 2016 +0000
+++ b/sys/kern/subr_autoconf.c Thu Jan 28 16:32:40 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_autoconf.c,v 1.238 2015/12/20 04:21:03 pgoyette Exp $ */
+/* $NetBSD: subr_autoconf.c,v 1.239 2016/01/28 16:32:40 christos Exp $ */
/*
* Copyright (c) 1996, 2000 Christopher G. Demetriou
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.238 2015/12/20 04:21:03 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.239 2016/01/28 16:32:40 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -1880,7 +1880,7 @@
device_t curdev;
bool progress = false;
- if ((how & RB_NOSYNC) != 0)
+ if ((how & (RB_NOSYNC|RB_DUMP)) != 0)
return false;
for (curdev = shutdown_first(&s); curdev != NULL;
Home |
Main Index |
Thread Index |
Old Index