Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst PR 57100: when adding a new partition, upda...
details: https://anonhg.NetBSD.org/src/rev/0d87add4c209
branches: trunk
changeset: 372644:0d87add4c209
user: martin <martin%NetBSD.org@localhost>
date: Thu Dec 15 15:29:51 2022 +0000
description:
PR 57100: when adding a new partition, update current flags after
the backend has added the partion, so the re-sorting later can
match the new data properly.
diffstat:
usr.sbin/sysinst/label.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 06c44f6fbf7e -r 0d87add4c209 usr.sbin/sysinst/label.c
--- a/usr.sbin/sysinst/label.c Thu Dec 15 15:11:44 2022 +0000
+++ b/usr.sbin/sysinst/label.c Thu Dec 15 15:29:51 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: label.c,v 1.44 2022/12/10 16:13:19 martin Exp $ */
+/* $NetBSD: label.c,v 1.45 2022/12/15 15:29:51 martin Exp $ */
/*
* Copyright 1997 Jonathan Stone
@@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: label.c,v 1.44 2022/12/10 16:13:19 martin Exp $");
+__RCSID("$NetBSD: label.c,v 1.45 2022/12/15 15:29:51 martin Exp $");
#endif
#include <sys/types.h>
@@ -1008,6 +1008,7 @@
edit.info.nat_type->generic_ptype;
edit.wanted->fs_type = edit.info.fs_type;
edit.wanted->fs_version = edit.info.fs_sub_type;
+ edit.wanted->cur_flags = edit.info.flags;
/* things have changed, re-sort */
renumber_partitions(pset);
}
Home |
Main Index |
Thread Index |
Old Index