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/d63178b03915
branches: trunk
changeset: 805157:d63178b03915
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 86117fc7a83e -r d63178b03915 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);
Home |
Main Index |
Thread Index |
Old Index