diff options
-rw-r--r-- | lib/ext2fs/ChangeLog | 6 | ||||
-rw-r--r-- | lib/ext2fs/initialize.c | 4 |
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 |