Whamcloud - gitweb
ChangeLog, initialize.c:
authorTheodore Ts'o <tytso@mit.edu>
Mon, 4 Jan 1999 08:50:59 +0000 (08:50 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 4 Jan 1999 08:50:59 +0000 (08:50 +0000)
  initialize.c (ext2fs_initialize): Use EXT2_FIRST_INODE instead of
   EXT2_FIRST_INO to ensure compatibility with Linux 1.2 header files.

lib/ext2fs/ChangeLog
lib/ext2fs/initialize.c

index 04fdb36..a6e2c76 100644 (file)
@@ -1,3 +1,9 @@
+1998-12-30  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * initialize.c (ext2fs_initialize): Use EXT2_FIRST_INODE instead
+               of EXT2_FIRST_INO to ensure compatibility with Linux 1.2
+               header files.
+
 Mon Jan  4 02:32:09 1999  Theodore Y. Ts'o  <tytso@mit.edu>
 
        * llseek.c (ext2fs_llseek): Change ext2fs_llseek() in the
index 20c8161..d04a7f5 100644 (file)
@@ -164,8 +164,8 @@ retry:
         * Make sure we have at least EXT2_FIRST_INO + 1 inodes, so
         * that we have enough inodes for the filesystem(!)
         */
-       if (super->s_inodes_count < EXT2_FIRST_INO(super)+1)
-               super->s_inodes_count = EXT2_FIRST_INO(super)+1;
+       if (super->s_inodes_count < EXT2_FIRST_INODE(super)+1)
+               super->s_inodes_count = EXT2_FIRST_INODE(super)+1;
        
        /*
         * There should be at least as many inodes as the user