Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/dump PR/56270: Matthias Scheler: dump fails on ffsv1: Z...
details: https://anonhg.NetBSD.org/src/rev/cf9810017777
branches: trunk
changeset: 1022177:cf9810017777
user: christos <christos%NetBSD.org@localhost>
date: Wed Jul 07 11:06:37 2021 +0000
description:
PR/56270: Matthias Scheler: dump fails on ffsv1: Zero c_extsize since ffsv1
does not support extended attributes.
diffstat:
sbin/dump/traverse.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r e742156a36b6 -r cf9810017777 sbin/dump/traverse.c
--- a/sbin/dump/traverse.c Wed Jul 07 08:58:19 2021 +0000
+++ b/sbin/dump/traverse.c Wed Jul 07 11:06:37 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: traverse.c,v 1.53 2021/06/19 13:56:34 christos Exp $ */
+/* $NetBSD: traverse.c,v 1.54 2021/07/07 11:06:37 christos Exp $ */
/*-
* Copyright (c) 1980, 1988, 1991, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)traverse.c 8.7 (Berkeley) 6/15/95";
#else
-__RCSID("$NetBSD: traverse.c,v 1.53 2021/06/19 13:56:34 christos Exp $");
+__RCSID("$NetBSD: traverse.c,v 1.54 2021/07/07 11:06:37 christos Exp $");
#endif
#endif /* not lint */
@@ -502,6 +502,7 @@
ffs_dinode1_swap(&dp->dp1, &spcl.c_dinode);
else
spcl.c_dinode = dp->dp1;
+ spcl.c_extsize = 0;
} else {
if (needswap)
ffs_dinode2_swap(&dp->dp2, &dp->dp2);
Home |
Main Index |
Thread Index |
Old Index