From: Andrey Albershteyn <aalbersh@xxxxxxxxxx> Add extended attribute FS_XFLAG_VERITY for inodes with fs-verity enabled. Signed-off-by: Andrey Albershteyn <aalbersh@xxxxxxxxxx> [djwong: fix broken verity flag checks] Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx> Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> --- include/linux.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux.h b/include/linux.h index 95a0deee..d98d387e 100644 --- a/include/linux.h +++ b/include/linux.h @@ -249,6 +249,10 @@ struct fsxattr { #define FS_XFLAG_COWEXTSIZE 0x00010000 /* CoW extent size allocator hint */ #endif +#ifndef FS_XFLAG_VERITY +#define FS_XFLAG_VERITY 0x00020000 /* fs-verity enabled */ +#endif + /* * Reminder: anything added to this file will be compiled into downstream * userspace projects!