diff mbox series

libe2p: fix verity flag bit

Message ID 20180820233737.225214-1-ebiggers@kernel.org
State Accepted, archived
Headers show
Series libe2p: fix verity flag bit | expand

Commit Message

Eric Biggers Aug. 20, 2018, 11:37 p.m. UTC
From: Eric Biggers <ebiggers@google.com>

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>
---
 lib/e2p/pf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Theodore Ts'o Aug. 21, 2018, 3:49 a.m. UTC | #1
On Mon, Aug 20, 2018 at 04:37:37PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> 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>

Oops!  Thanks, applied.

				- Ted
diff mbox series

Patch

diff --git a/lib/e2p/pf.c b/lib/e2p/pf.c
index 1c4bdde1..884f1671 100644
--- a/lib/e2p/pf.c
+++ b/lib/e2p/pf.c
@@ -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 }
 };