Whamcloud - gitweb
pf.c: Print the indexed directory flag if present. Don't display
authorTheodore Ts'o <tytso@mit.edu>
Sat, 9 Nov 2002 00:12:48 +0000 (19:12 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 9 Nov 2002 00:12:48 +0000 (19:12 -0500)
all of the compression flags unless compression support has
been enabled.

lib/e2p/ChangeLog
lib/e2p/pf.c

index 28eb08c..c446899 100644 (file)
@@ -1,3 +1,9 @@
+2002-11-08  Theodore Ts'o  <tytso@mit.edu>
+
+       * pf.c: Print the indexed directory flag if present.  Don't
+               display all of the compression flags unless compression 
+               is enabled.
+
 2002-10-31  Theodore Ts'o  <tytso@mit.edu>
 
        * Release of E2fsprogs 1.30
index 5edd690..48d75a9 100644 (file)
@@ -34,11 +34,14 @@ static struct flags_name flags_array[] = {
        { EXT2_NODUMP_FL, "d", "No_Dump" },
        { EXT2_NOATIME_FL, "A", "No_Atime" },
        { EXT2_COMPR_FL, "c", "Compression_Requested" },
+#ifdef ENABLE_COMPRESSION
        { EXT2_COMPRBLK_FL, "B", "Compressed_File" },
        { EXT2_DIRTY_FL, "Z", "Compressed_Dirty_File" },
        { EXT2_NOCOMPR_FL, "X", "Compression_Raw_Access" },
        { EXT2_ECOMPR_FL, "E", "Compression_Error" },
+#endif
        { EXT3_JOURNAL_DATA_FL, "j", "Journaled_Data" },
+       { EXT2_INDEX_FL, "I", "Indexed_direcctory" }, 
        { EXT2_NOTAIL_FL, "t", "No_Tailmerging" },
        { EXT2_TOPDIR_FL, "T", "Top_of_Directory_Hierarchies" },
        { 0, NULL, NULL }