From 2fe1efe2e56dc9f8223992301aec3844dd9563e6 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 31 Dec 2000 13:39:17 +0000 Subject: [PATCH] ChangeLog, ext2fs.h: ext2fs.h: Cleaned up header file by removing definitions of feature flags that might not have been defined in older ext2 header files. Now that we're using our own include/linux/ext2fs.h header file, this can never happen. jfs_dat.h: Removed old header file which is no longer needed. ChangeLog: jfs_compat.h: Remove uneeded header file. --- e2fsck/ChangeLog | 4 ++++ lib/ext2fs/ChangeLog | 9 +++++++++ lib/ext2fs/ext2fs.h | 42 ++---------------------------------------- 3 files changed, 15 insertions(+), 40 deletions(-) diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index d4f2885..aa8266c 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,3 +1,7 @@ +2000-12-31 + + * jfs_compat.h: Remove uneeded header file. + 2000-12-30 * malloc.h, mtrace.c: Renamed malloc.h to mtrace.h to avoid diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index 0c08ca2..ad68b17 100644 --- a/lib/ext2fs/ChangeLog +++ b/lib/ext2fs/ChangeLog @@ -1,3 +1,12 @@ +2000-12-31 + + * ext2fs.h: Cleaned up header file by removing definitions of + feature flags that might not have been defined in older + ext2 header files. Now that we're using our own + include/linux/ext2fs.h header file, this can never happen. + + * jfs_dat.h: Removed old header file which is no longer needed. + 2000-12-13 Theodore Ts'o * closefs.c (ext2fs_update_dynamic_rev): New function suggested diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h index d3dba64..c2be085 100644 --- a/lib/ext2fs/ext2fs.h +++ b/lib/ext2fs/ext2fs.h @@ -463,50 +463,12 @@ struct ext2fs_sb { #define HOLE_BLKADDR(_b) ((_b) == 0 || (_b) == EXT2FS_COMPRESSED_BLKADDR) /* - * Feature set definitions (that might not be in ext2_fs.h + * Features supprted by this version of the library */ - -#ifndef EXT2_FEATURE_COMPAT_DIR_PREALLOC -#define EXT2_FEATURE_COMPAT_DIR_PREALLOC 0x0001 -#endif - -#ifndef EXT2_FEATURE_COMPAT_IMAGIC_INODES /* for AFS, etc. */ -#define EXT2_FEATURE_COMPAT_IMAGIC_INODES 0x0002 -#define EXT2_IMAGIC_FL 0x00002000 -#endif - -#ifndef EXT3_FEATURE_COMPAT_HAS_JOURNAL -#define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x0004 -#endif - -#ifndef EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER -#define EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER 0x0001 -#endif - -#ifndef EXT2_FEATURE_RO_COMPAT_LARGE_FILE -#define EXT2_FEATURE_RO_COMPAT_LARGE_FILE 0x0002 -#define i_size_high i_dir_acl -#endif - -#ifndef EXT2_FEATURE_RO_COMPAT_BTREE_DIR -#define EXT2_FEATURE_RO_COMPAT_BTREE_DIR 0x0004 -#endif - -#ifndef EXT2_FEATURE_INCOMPAT_COMPRESSION -#define EXT2_FEATURE_INCOMPAT_COMPRESSION 0x0001 -#endif - -#ifndef EXT2_FEATURE_INCOMPAT_FILETYPE -#define EXT2_FEATURE_INCOMPAT_FILETYPE 0x0002 -#endif - -#ifndef EXT3_FEATURE_INCOMPAT_RECOVER -#define EXT3_FEATURE_INCOMPAT_RECOVER 0x0004 /* Needs recovery */ -#endif - #define EXT2_LIB_FEATURE_COMPAT_SUPP (EXT2_FEATURE_COMPAT_DIR_PREALLOC|\ EXT2_FEATURE_COMPAT_IMAGIC_INODES|\ EXT3_FEATURE_COMPAT_HAS_JOURNAL) + /* This #ifdef is temporary until compression is fully supported */ #ifdef ENABLE_COMPRESSION #ifndef I_KNOW_THAT_COMPRESSION_IS_EXPERIMENTAL -- 1.8.3.1