From: Theodore Ts'o Date: Sat, 9 Nov 2002 00:12:48 +0000 (-0500) Subject: pf.c: Print the indexed directory flag if present. Don't display X-Git-Tag: E2FSPROGS-1_31~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4e5e36a40df0896e3d967bc266d75f155031778;p=thirdparty%2Fe2fsprogs.git pf.c: Print the indexed directory flag if present. Don't display all of the compression flags unless compression support has been enabled. --- diff --git a/lib/e2p/ChangeLog b/lib/e2p/ChangeLog index 28eb08cc9..c44689939 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 5edd6909c..48d75a9ae 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 }