summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1999-01-04 08:50:59 +0000
committerTheodore Ts'o <tytso@mit.edu>1999-01-04 08:50:59 +0000
commit7a46952e3fbe7f03868061725f968a2af18a23e9 (patch)
tree2361fcd5cf54b23e7327491cb57c36bd3895d7a3 /lib
parentdefde7840c538ca81519f6a0f354f763fb80a1a6 (diff)
downloade2fsprogs-7a46952e3fbe7f03868061725f968a2af18a23e9.tar.gz
ChangeLog, initialize.c:
initialize.c (ext2fs_initialize): Use EXT2_FIRST_INODE instead of EXT2_FIRST_INO to ensure compatibility with Linux 1.2 header files.
Diffstat (limited to 'lib')
-rw-r--r--lib/ext2fs/ChangeLog6
-rw-r--r--lib/ext2fs/initialize.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog
index 04fdb369..a6e2c769 100644
--- a/lib/ext2fs/ChangeLog
+++ b/lib/ext2fs/ChangeLog
@@ -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
diff --git a/lib/ext2fs/initialize.c b/lib/ext2fs/initialize.c
index 20c8161c..d04a7f56 100644
--- a/lib/ext2fs/initialize.c
+++ b/lib/ext2fs/initialize.c
@@ -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