EXT2_FIRST_INO

Philippe Strauss (philippe.strauss@urbanet.ch)
Thu, 04 Jul 1996 18:33:45 +0200


Hi,

After trying to compile defrag0.6 and e2fsprogs-1.02.tar.gz, I've noticed
that the (once upon a time) constant EXT2_FIRST_INO has turned into a macro.
This macro is (from linux/ext2_fs.h):

#ifdef __KERNEL__
...[others removed]
#define EXT2_FIRST_INO(s) ((s)->u.ext2_sb.s_first_ino)
#else
...[others removed]
#define EXT2_FIRST_INO(s) (((s)->s_rev_level == EXT2_GOOD_OLD_REV) ? \
EXT2_GOOD_OLD_FIRST_INO : \
(s)->s_first_ino)
#endif

My question is how to modify ext2_fs.h or the sources of those programs
relying on the old define of EXT2_FIRST_INO?

Philippe

-- 
Philippe Strauss, CH-1092 Belmont
Private Email:	philippe.strauss@urbanet.ch

" Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT's relativity. " Albert Einstein.