Whamcloud - gitweb
ChangeLog, ext2_fs.h:
authorTheodore Ts'o <tytso@mit.edu>
Mon, 21 May 2001 05:23:31 +0000 (05:23 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 21 May 2001 05:23:31 +0000 (05:23 +0000)
  ext2_fs.h: Change assignment of EXT2_FEATURE_COMPAT_DIR_INDEX to make
   room for pre-existing usage of EXT2_FEATURE_COMPAT_EXT_ATTR.  Add flag
   EXT2_INDEX_FL with the same codepoint as EXT2_BTREE_FL.

lib/ext2fs/ChangeLog
lib/ext2fs/ext2_fs.h

index 381a7e4..58387b7 100644 (file)
@@ -1,3 +1,10 @@
+2001-05-21  Theodore Tso  <tytso@valinux.com>
+
+       * ext2_fs.h: Change assignment of EXT2_FEATURE_COMPAT_DIR_INDEX to
+               make room for pre-existing usage of
+               EXT2_FEATURE_COMPAT_EXT_ATTR.  Add flag EXT2_INDEX_FL with
+               the same codepoint as EXT2_BTREE_FL.
+
 2001-05-20  Theodore Tso  <tytso@valinux.com>
 
        * ext2fs.h: #include <> instead of "" for ext2fs and et header
index 72636c2..2aff9d0 100644 (file)
@@ -187,6 +187,7 @@ struct ext2_group_desc
 #define EXT2_ECOMPR_FL                 0x00000800 /* Compression error */
 /* End compression flags --- maybe not all used */     
 #define EXT2_BTREE_FL                  0x00001000 /* btree format dir */
+#define EXT2_INDEX_FL                  0x00001000 /* hash-indexed directory */
 #define EXT2_IMAGIC_FL                 0x00002000
 #define EXT3_JOURNAL_DATA_FL           0x00004000 /* file data should be journaled */
 #define EXT2_RESERVED_FL               0x80000000 /* reserved for ext2 lib */
@@ -438,8 +439,9 @@ struct ext2_super_block {
 #define EXT2_FEATURE_COMPAT_DIR_PREALLOC       0x0001
 #define EXT2_FEATURE_COMPAT_IMAGIC_INODES      0x0002
 #define EXT3_FEATURE_COMPAT_HAS_JOURNAL                0x0004
-#define EXT2_FEATURE_COMPAT_DIR_INDEX          0x0008
+#define EXT2_FEATURE_COMPAT_EXT_ATTR           0x0008
 #define EXT2_FEATURE_COMPAT_RESIZE_INODE       0x0010
+#define EXT2_FEATURE_COMPAT_DIR_INDEX          0x0020
 
 #define EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER    0x0001
 #define EXT2_FEATURE_RO_COMPAT_LARGE_FILE      0x0002