Whamcloud - gitweb
libe2p: fix verity flag bit
authorEric Biggers <ebiggers@google.com>
Mon, 20 Aug 2018 23:37:37 +0000 (16:37 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 21 Aug 2018 05:22:24 +0000 (01:22 -0400)
The verity flag was mapped to EXT4_PROJINHERIT_FL, presumably due to a
copy+paste error.  Fix it.

Fixes: faae7aa00df0 ("Reserve codepoints for the fsverity feature.")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/e2p/pf.c

index 1c4bdde..884f167 100644 (file)
@@ -46,7 +46,7 @@ static struct flags_name flags_array[] = {
        { FS_NOCOW_FL, "C", "No_COW" },
        { EXT4_INLINE_DATA_FL, "N", "Inline_Data" },
        { EXT4_PROJINHERIT_FL, "P", "Project_Hierarchy" },
-       { EXT4_PROJINHERIT_FL, "V", "Verity" },
+       { EXT4_VERITY_FL, "V", "Verity" },
        { 0, NULL, NULL }
 };