Deleted Added
full compact
7c7
< * $FreeBSD: head/sys/fs/ext2fs/ext2fs.h 251562 2013-06-09 01:38:51Z pfg $
---
> * $FreeBSD: head/sys/fs/ext2fs/ext2fs.h 251809 2013-06-16 16:10:45Z pfg $
48,67d47
< * A summary of contiguous blocks of various sizes is maintained
< * in each cylinder group. Normally this is set by the initial
< * value of fs_maxcontig.
< *
< * XXX:FS_MAXCONTIG is set to 16 to conserve space. Here we set
< * EXT2_MAXCONTIG to 32 for better performance.
< */
< #define EXT2_MAXCONTIG 32
<
< /*
< * Constants relative to the data blocks
< */
< #define EXT2_NDIR_BLOCKS 12
< #define EXT2_IND_BLOCK EXT2_NDIR_BLOCKS
< #define EXT2_DIND_BLOCK (EXT2_IND_BLOCK + 1)
< #define EXT2_TIND_BLOCK (EXT2_DIND_BLOCK + 1)
< #define EXT2_N_BLOCKS (EXT2_TIND_BLOCK + 1)
< #define EXT2_MAXSYMLINKLEN (EXT2_N_BLOCKS * sizeof(uint32_t))
<
< /*
178,182c158
< /*
< * The second extended file system version
< */
< #define E2FS_DATE "95/08/09"
< #define E2FS_VERSION "0.5b"
---
> /* cluster summary information */
183a160,164
> struct csum {
> int8_t cs_init; /* cluster summary has been initialized */
> int32_t *cs_sum; /* cluster summary array */
> };
>
195,197d175
< #define E2FS_CURRENT_REV E2FS_REV0
< #define E2FS_MAX_SUPP_REV E2FS_REV1
<
254,270d231
< * Definitions of behavior on errors
< */
< #define E2FS_BEH_CONTINUE 1 /* continue operation */
< #define E2FS_BEH_READONLY 2 /* remount fs read only */
< #define E2FS_BEH_PANIC 3 /* cause panic */
< #define E2FS_BEH_DEFAULT E2FS_BEH_CONTINUE
<
< /*
< * OS identification
< */
< #define E2FS_OS_LINUX 0
< #define E2FS_OS_HURD 1
< #define E2FS_OS_MASIX 2
< #define E2FS_OS_FREEBSD 3
< #define E2FS_OS_LITES 4
<
< /*
293d253
< /* cluster summary information */
295,299d254
< struct csum {
< int8_t cs_init; /* cluster summary has been initialized */
< int32_t *cs_sum; /* cluster summary array */
< };
<