Source-Changes-HG archive

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

[src/trunk]: src/sbin/newfs_lfs Use a specific SEGSUM size instead of the siz...



details:   https://anonhg.NetBSD.org/src/rev/2845ed38e175
branches:  trunk
changeset: 811064:2845ed38e175
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Oct 10 22:34:19 2015 +0000

description:
Use a specific SEGSUM size instead of the size of the union.

diffstat:

 sbin/newfs_lfs/make_lfs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r be857404f07a -r 2845ed38e175 sbin/newfs_lfs/make_lfs.c
--- a/sbin/newfs_lfs/make_lfs.c Sat Oct 10 22:34:09 2015 +0000
+++ b/sbin/newfs_lfs/make_lfs.c Sat Oct 10 22:34:19 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make_lfs.c,v 1.57 2015/09/21 01:24:58 dholland Exp $   */
+/*     $NetBSD: make_lfs.c,v 1.58 2015/10/10 22:34:19 dholland Exp $   */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
 #if 0
 static char sccsid[] = "@(#)lfs.c      8.5 (Berkeley) 5/24/95";
 #else
-__RCSID("$NetBSD: make_lfs.c,v 1.57 2015/09/21 01:24:58 dholland Exp $");
+__RCSID("$NetBSD: make_lfs.c,v 1.58 2015/10/10 22:34:19 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -426,7 +426,7 @@
         * the segment table for the number of hash chains.
         */
        tnseg = dkw->dkw_size / ((seg_size ? seg_size : DFL_LFSSEG) / secsize);
-       tsepb = (block_size ? block_size : DFL_LFSBLOCK) / sizeof(SEGSUM);
+       tsepb = (block_size ? block_size : DFL_LFSBLOCK) / sizeof(SEGSUM32);
        if (tnseg == 0)
                fatal("zero size partition");
        bufinit(tnseg / tsepb);



Home | Main Index | Thread Index | Old Index