Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Stop useless disklabel warning if there ar...
details: https://anonhg.NetBSD.org/src/rev/2b693b77b42f
branches: trunk
changeset: 335015:2b693b77b42f
user: taca <taca%NetBSD.org@localhost>
date: Sun Dec 21 17:04:12 2014 +0000
description:
Stop useless disklabel warning if there are wedges, using GPT partition.
Fix PR kern/47989.
XXX: Pullup 6 and 7 (maybe 5)
diffstat:
sys/dev/raidframe/rf_netbsdkintf.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r d1ee0068b1cd -r 2b693b77b42f sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c Sun Dec 21 15:39:37 2014 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c Sun Dec 21 17:04:12 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.316 2014/11/14 14:29:16 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.317 2014/12/21 17:04:12 taca Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.316 2014/11/14 14:29:16 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.317 2014/12/21 17:04:12 taca Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -800,6 +800,7 @@
pmask = (1 << part);
if ((rs->sc_flags & RAIDF_INITED) &&
+ (rs->sc_dkdev.dk_nwedges == 0) &&
(rs->sc_dkdev.dk_openmask == 0))
raidgetdisklabel(dev);
- Prev by Date:
[src/trunk]: src/sys/arch/arm/allwinner add A80 debe, tcon, hdmi, daudio
- Next by Date:
[src/trunk]: src/sys/arch/evbarm/conf enable awindebe, genfb, wsdisplay
- Previous by Thread:
[src/trunk]: src/sys/arch/arm/allwinner add A80 debe, tcon, hdmi, daudio
- Next by Thread:
[src/trunk]: src/sys/arch/evbarm/conf enable awindebe, genfb, wsdisplay
- Indexes:
Home |
Main Index |
Thread Index |
Old Index