Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/fsck_ffs Don't use the pendinginodes and pendingblocks ...



details:   https://anonhg.NetBSD.org/src/rev/f53f2a40e2fe
branches:  trunk
changeset: 519507:f53f2a40e2fe
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Wed Dec 19 10:05:20 2001 +0000

description:
Don't use the pendinginodes and pendingblocks fields in alternate
superblock comparison.

diffstat:

 sbin/fsck_ffs/setup.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 507b053bef48 -r f53f2a40e2fe sbin/fsck_ffs/setup.c
--- a/sbin/fsck_ffs/setup.c     Wed Dec 19 09:36:36 2001 +0000
+++ b/sbin/fsck_ffs/setup.c     Wed Dec 19 10:05:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: setup.c,v 1.51 2001/11/16 05:35:40 lukem Exp $ */
+/*     $NetBSD: setup.c,v 1.52 2001/12/19 10:05:20 fvdl Exp $  */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)setup.c    8.10 (Berkeley) 5/9/95";
 #else
-__RCSID("$NetBSD: setup.c,v 1.51 2001/11/16 05:35:40 lukem Exp $");
+__RCSID("$NetBSD: setup.c,v 1.52 2001/12/19 10:05:20 fvdl Exp $");
 #endif
 #endif /* not lint */
 
@@ -602,6 +602,8 @@
                sb->fs_snapinum, sizeof sb->fs_snapinum);
        asb->fs_avgfilesize = sb->fs_avgfilesize;
        asb->fs_avgfpdir = sb->fs_avgfpdir;
+       asb->fs_pendingblocks = sb->fs_pendingblocks;
+       asb->fs_pendinginodes = sb->fs_pendinginodes;
        memmove(asb->fs_sparecon,
                sb->fs_sparecon, sizeof sb->fs_sparecon);
        /*



Home | Main Index | Thread Index | Old Index