Diff for /src/sys/vfs/gnu/ext2fs/ext2_fs.h between versions 1.3 and 1.4

version 1.3, 2003/08/07 21:17:41 version 1.4, 2004/02/05 21:03:37
Line 122 Line 122
 #define EXT2_MIN_BLOCK_SIZE             1024  #define EXT2_MIN_BLOCK_SIZE             1024
 #define EXT2_MAX_BLOCK_SIZE             4096  #define EXT2_MAX_BLOCK_SIZE             4096
 #define EXT2_MIN_BLOCK_LOG_SIZE           10  #define EXT2_MIN_BLOCK_LOG_SIZE           10
#if defined(__KERNEL__) || (defined(__FreeBSD__) && defined(_KERNEL))#if defined(__KERNEL__) || (defined(__DragonFly__) && defined(_KERNEL))
 # define EXT2_BLOCK_SIZE(s)             ((s)->s_blocksize)  # define EXT2_BLOCK_SIZE(s)             ((s)->s_blocksize)
 #else  #else
 # define EXT2_BLOCK_SIZE(s)             (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size)  # define EXT2_BLOCK_SIZE(s)             (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size)
Line 164 Line 164
 # define EXT2_FRAG_SIZE(s)              ((s)->u.ext2_sb.s_frag_size)  # define EXT2_FRAG_SIZE(s)              ((s)->u.ext2_sb.s_frag_size)
 # define EXT2_FRAGS_PER_BLOCK(s)        ((s)->u.ext2_sb.s_frags_per_block)  # define EXT2_FRAGS_PER_BLOCK(s)        ((s)->u.ext2_sb.s_frags_per_block)
 #else  #else
# if defined(_KERNEL) && defined(__FreeBSD__)# if defined(_KERNEL) && defined(__DragonFly__)
 # define EXT2_FRAG_SIZE(s)              ((s)->s_frag_size)  # define EXT2_FRAG_SIZE(s)              ((s)->s_frag_size)
 # else  # else
 # define EXT2_FRAG_SIZE(s)              (EXT2_MIN_FRAG_SIZE << (s)->s_log_frag_size)  # define EXT2_FRAG_SIZE(s)              (EXT2_MIN_FRAG_SIZE << (s)->s_log_frag_size)

Removed from v.1.3  
changed lines
  Added in v.1.4