Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b93531dd authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs crypto: add encryption xattr support



This patch add some definition for enrcyption xattr.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent d33793fb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -35,6 +35,10 @@
#define F2FS_XATTR_INDEX_LUSTRE			5
#define F2FS_XATTR_INDEX_SECURITY		6
#define F2FS_XATTR_INDEX_ADVISE			7
/* Should be same as EXT4_XATTR_INDEX_ENCRYPTION */
#define F2FS_XATTR_INDEX_ENCRYPTION		9

#define F2FS_XATTR_NAME_ENCRYPTION_CONTEXT	"c"

struct f2fs_xattr_header {
	__le32  h_magic;        /* magic number for identification */