From c4e5e36a40df0896e3d967bc266d75f155031778 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 8 Nov 2002 19:12:48 -0500 Subject: [PATCH] pf.c: Print the indexed directory flag if present. Don't display all of the compression flags unless compression support has been enabled. --- lib/e2p/ChangeLog | 6 ++++++ lib/e2p/pf.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/lib/e2p/ChangeLog b/lib/e2p/ChangeLog index 28eb08c..c446899 100644 --- a/lib/e2p/ChangeLog +++ b/lib/e2p/ChangeLog @@ -1,3 +1,9 @@ +2002-11-08 Theodore Ts'o + + * 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 * Release of E2fsprogs 1.30 diff --git a/lib/e2p/pf.c b/lib/e2p/pf.c index 5edd690..48d75a9 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 } -- 1.8.3.1