Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/dump PR/56643: Paul Goyette: Disable the last block adj...
details: https://anonhg.NetBSD.org/src/rev/cb594080dc11
branches: trunk
changeset: 359835:cb594080dc11
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 26 20:22:14 2022 +0000
description:
PR/56643: Paul Goyette: Disable the last block adjustment for now. It seems
to break restore.
diffstat:
sbin/dump/traverse.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r ae3aee5e5cec -r cb594080dc11 sbin/dump/traverse.c
--- a/sbin/dump/traverse.c Wed Jan 26 19:19:13 2022 +0000
+++ b/sbin/dump/traverse.c Wed Jan 26 20:22:14 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: traverse.c,v 1.54 2021/07/07 11:06:37 christos Exp $ */
+/* $NetBSD: traverse.c,v 1.55 2022/01/26 20:22:14 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.54 2021/07/07 11:06:37 christos Exp $");
+__RCSID("$NetBSD: traverse.c,v 1.55 2022/01/26 20:22:14 christos Exp $");
#endif
#endif /* not lint */
@@ -691,6 +691,7 @@
static int writingextdata = 0;
blks = howmany(frags * ufsib->ufs_fsize, TP_BSIZE);
+#if 0
if (last) {
int resid;
int extsize = iswap32(spcl.c_extsize);
@@ -703,6 +704,7 @@
if (resid > 0)
blks -= howmany(ufsib->ufs_fsize, TP_BSIZE) - resid;
}
+#endif
tbperdb = ufsib->ufs_bsize >> tp_bshift;
for (i = 0; i < blks; i += TP_NINDIR) {
if (i + TP_NINDIR > blks)
Home |
Main Index |
Thread Index |
Old Index