]> git.wh0rd.org - dump.git/commitdiff
Fix bug which caused the highest number inode to not be dumped.
authorStelian Pop <stelian@popies.net>
Sat, 5 Jan 2002 23:23:01 +0000 (23:23 +0000)
committerStelian Pop <stelian@popies.net>
Sat, 5 Jan 2002 23:23:01 +0000 (23:23 +0000)
CHANGES
dump/main.c

diff --git a/CHANGES b/CHANGES
index 52c5048721b4c3ba3b5a7c2176367a2f29238347..0db037e51014a00f9dd945cd713b3a0f0de451dd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-$Id: CHANGES,v 1.151 2002/01/02 10:13:15 stelian Exp $
+$Id: CHANGES,v 1.152 2002/01/05 23:23:01 stelian Exp $
 
 Changes between versions 0.4b25 and 0.4b26 (released ?????????????????)
 =======================================================================
@@ -20,6 +20,11 @@ Changes between versions 0.4b25 and 0.4b26 (released ?????????????????)
        a separate object directory, makefile cleanups contributed
        by <splite@purdue.edu>.
 
+5.     Fix a bug which could caused, in some conditions, the highest
+       number inode of a filesystem, to not be dumped. Many thanks
+       to Chris Siebenmann <cks@utcc.utoronto.ca> for helping me
+       chase this bug.
+       
 Changes between versions 0.4b24 and 0.4b25 (released November 17, 2001)
 =======================================================================
 
index 5262d690fc1094bfbf874f12cce19f0d50603166..bdc31f4f9550600c47c2a05c1c32a58c37a322b2 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: main.c,v 1.62 2001/11/11 00:12:48 stelian Exp $";
+       "$Id: main.c,v 1.63 2002/01/05 23:23:02 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -675,7 +675,7 @@ main(int argc, char *argv[])
        tp_bshift = ffs(TP_BSIZE) - 1;
        if (TP_BSIZE != (1 << tp_bshift))
                quit("TP_BSIZE (%d) is not a power of 2", TP_BSIZE);
-       maxino = fs->super->s_inodes_count;
+       maxino = fs->super->s_inodes_count + 1;
 #if    0
        spcl.c_flags |= DR_NEWINODEFMT;
 #endif