From 4b78acc7bc1af2e7e02bf07538c3f3a14c5e97ce Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 19 Dec 2020 14:24:02 -0600 Subject: FS_ENCRYPT_FL introduced too recently to depend on, use constant. Note: can't put in portability.h because it's a linux/ include. --- toys/other/lsattr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'toys/other/lsattr.c') diff --git a/toys/other/lsattr.c b/toys/other/lsattr.c index 3e327920..547012ef 100644 --- a/toys/other/lsattr.c +++ b/toys/other/lsattr.c @@ -102,7 +102,8 @@ static struct ext2_attr { {"No_Dump", FS_NODUMP_FL, 'd'}, {"No_Atime", FS_NOATIME_FL, 'A'}, {"Compression_Requested", FS_COMPR_FL, 'c'}, - {"Encrypted", FS_ENCRYPT_FL, 'E'}, + // FS_ENCRYPT_FL added to linux 4.5 march 2016, +y7 = 2023 + {"Encrypted", 0x800, 'E'}, {"Journaled_Data", FS_JOURNAL_DATA_FL, 'j'}, {"Indexed_directory", FS_INDEX_FL, 'I'}, {"No_Tailmerging", FS_NOTAIL_FL, 't'}, -- cgit v1.2.3