summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/xattr.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-04-11 01:43:31 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2015-05-29 00:41:47 +0200
commitb93531dd7b9b39faace22abde2d5296e87b50499 (patch)
tree5443d22a6cb656a75e9c40ec2f02a1464edb6f45 /fs/f2fs/xattr.h
parentf2fs crypto: add f2fs encryption Kconfig (diff)
downloadlinux-b93531dd7b9b39faace22abde2d5296e87b50499.tar.xz
linux-b93531dd7b9b39faace22abde2d5296e87b50499.zip
f2fs crypto: add encryption xattr support
This patch add some definition for enrcyption xattr. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/xattr.h')
-rw-r--r--fs/f2fs/xattr.h4
1 files changed, 4 insertions, 0 deletions
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 */