summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2002-11-08 19:12:48 -0500
committerTheodore Ts'o <tytso@mit.edu>2002-11-08 19:12:48 -0500
commitc4e5e36a40df0896e3d967bc266d75f155031778 (patch)
tree9f5e1f482cd39fef6b62cb1da69716b8ed871a73 /lib
parent782bebfd755f8a9fc85b1c7c6a210ce898a88e5e (diff)
downloade2fsprogs-c4e5e36a40df0896e3d967bc266d75f155031778.tar.gz
pf.c: Print the indexed directory flag if present. Don't display
all of the compression flags unless compression support has been enabled.
Diffstat (limited to 'lib')
-rw-r--r--lib/e2p/ChangeLog6
-rw-r--r--lib/e2p/pf.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/e2p/ChangeLog b/lib/e2p/ChangeLog
index 28eb08cc..c4468993 100644
--- a/lib/e2p/ChangeLog
+++ b/lib/e2p/ChangeLog
@@ -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
diff --git a/lib/e2p/pf.c b/lib/e2p/pf.c
index 5edd6909..48d75a9a 100644
--- a/lib/e2p/pf.c
+++ b/lib/e2p/pf.c
@@ -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 }