Module Name:    src
Committed By:   martin
Date:           Sat Dec 14 12:00:40 UTC 2019

Modified Files:
        src/usr.sbin/sysinst/arch/arc: md.c
        src/usr.sbin/sysinst/arch/cobalt: md.c
        src/usr.sbin/sysinst/arch/ews4800mips: md.c
        src/usr.sbin/sysinst/arch/prep: md.c

Log Message:
Adapt MD parts to changes in get_fs_part_type (pass partition type).


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/sysinst/arch/arc/md.c
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/sysinst/arch/cobalt/md.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/ews4800mips/md.c
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/sysinst/arch/prep/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sysinst/arch/arc/md.c
diff -u src/usr.sbin/sysinst/arch/arc/md.c:1.9 src/usr.sbin/sysinst/arch/arc/md.c:1.10
--- src/usr.sbin/sysinst/arch/arc/md.c:1.9	Wed Aug 14 12:55:35 2019
+++ src/usr.sbin/sysinst/arch/arc/md.c	Sat Dec 14 12:00:40 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: md.c,v 1.9 2019/08/14 12:55:35 martin Exp $ */
+/*	$NetBSD: md.c,v 1.10 2019/12/14 12:00:40 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -271,7 +271,7 @@ md_parts_use_wholedisk(struct disk_parti
 	};
 
 	boot_part.nat_type = parts->pscheme->get_fs_part_type(
-	    boot_part.fs_type, boot_part.fs_sub_type);
+	    PT_root, boot_part.fs_type, boot_part.fs_sub_type);
 
 	return parts_use_wholedisk(parts, 1, &boot_part);
 }

Index: src/usr.sbin/sysinst/arch/cobalt/md.c
diff -u src/usr.sbin/sysinst/arch/cobalt/md.c:1.9 src/usr.sbin/sysinst/arch/cobalt/md.c:1.10
--- src/usr.sbin/sysinst/arch/cobalt/md.c:1.9	Wed Aug 14 12:55:36 2019
+++ src/usr.sbin/sysinst/arch/cobalt/md.c	Sat Dec 14 12:00:40 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: md.c,v 1.9 2019/08/14 12:55:36 martin Exp $ */
+/*	$NetBSD: md.c,v 1.10 2019/12/14 12:00:40 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -286,7 +286,7 @@ md_parts_use_wholedisk(struct disk_parti
 	};
 
 	boot_part.nat_type = parts->pscheme->get_fs_part_type(
-	    boot_part.fs_type, boot_part.fs_sub_type);
+	    PT_root, boot_part.fs_type, boot_part.fs_sub_type);
 
 	return parts_use_wholedisk(parts, 1, &boot_part);
 }

Index: src/usr.sbin/sysinst/arch/ews4800mips/md.c
diff -u src/usr.sbin/sysinst/arch/ews4800mips/md.c:1.4 src/usr.sbin/sysinst/arch/ews4800mips/md.c:1.5
--- src/usr.sbin/sysinst/arch/ews4800mips/md.c:1.4	Sat Jul 13 17:13:37 2019
+++ src/usr.sbin/sysinst/arch/ews4800mips/md.c	Sat Dec 14 12:00:40 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: md.c,v 1.4 2019/07/13 17:13:37 martin Exp $	*/
+/*	$NetBSD: md.c,v 1.5 2019/12/14 12:00:40 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -259,7 +259,7 @@ md_parts_use_wholedisk(struct disk_parti
 	};
 
 	boot_part.nat_type = parts->pscheme->get_fs_part_type(
-	    boot_part.fs_type, boot_part.fs_sub_type);
+	    PT_root, boot_part.fs_type, boot_part.fs_sub_type);
 
 	return parts_use_wholedisk(parts, 1, &boot_part);
 }

Index: src/usr.sbin/sysinst/arch/prep/md.c
diff -u src/usr.sbin/sysinst/arch/prep/md.c:1.9 src/usr.sbin/sysinst/arch/prep/md.c:1.10
--- src/usr.sbin/sysinst/arch/prep/md.c:1.9	Wed Aug 14 12:55:37 2019
+++ src/usr.sbin/sysinst/arch/prep/md.c	Sat Dec 14 12:00:40 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: md.c,v 1.9 2019/08/14 12:55:37 martin Exp $	*/
+/*	$NetBSD: md.c,v 1.10 2019/12/14 12:00:40 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -282,7 +282,7 @@ md_parts_use_wholedisk(struct disk_parti
 	};
 
 	boot_part.nat_type = parts->pscheme->get_fs_part_type(
-	    boot_part.fs_type, boot_part.fs_sub_type);
+	    PT_root, boot_part.fs_type, boot_part.fs_sub_type);
 
 	return parts_use_wholedisk(parts, 1, &boot_part);
 }

Reply via email to