From 7a46952e3fbe7f03868061725f968a2af18a23e9 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 4 Jan 1999 08:50:59 +0000 Subject: [PATCH] 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. --- lib/ext2fs/ChangeLog | 6 ++++++ lib/ext2fs/initialize.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index 04fdb36..a6e2c76 100644 --- a/lib/ext2fs/ChangeLog +++ b/lib/ext2fs/ChangeLog @@ -1,3 +1,9 @@ +1998-12-30 Theodore Ts'o + + * 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 * llseek.c (ext2fs_llseek): Change ext2fs_llseek() in the diff --git a/lib/ext2fs/initialize.c b/lib/ext2fs/initialize.c index 20c8161..d04a7f5 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 -- 1.8.3.1