From: Jaegeuk Kim Date: Fri, 10 Apr 2015 23:43:31 +0000 (-0700) Subject: f2fs crypto: add encryption xattr support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b93531dd7b9b39faace22abde2d5296e87b50499;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git f2fs crypto: add encryption xattr support This patch add some definition for enrcyption xattr. Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/xattr.h b/fs/f2fs/xattr.h index 969d792ca362..71a7100d5492 100644 --- a/fs/f2fs/xattr.h +++ b/fs/f2fs/xattr.h @@ -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 */