lkml.org 
[lkml]   [1996]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectEXT2_FIRST_INO
    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.


    \
     
     \ /
      Last update: 2005-03-22 13:38    [W:0.017 / U:0.932 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site