提交 b93531dd 编写于 作者: J Jaegeuk Kim

f2fs crypto: add encryption xattr support

This patch add some definition for enrcyption xattr.
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 d33793fb
...@@ -35,6 +35,10 @@ ...@@ -35,6 +35,10 @@
#define F2FS_XATTR_INDEX_LUSTRE 5 #define F2FS_XATTR_INDEX_LUSTRE 5
#define F2FS_XATTR_INDEX_SECURITY 6 #define F2FS_XATTR_INDEX_SECURITY 6
#define F2FS_XATTR_INDEX_ADVISE 7 #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 { struct f2fs_xattr_header {
__le32 h_magic; /* magic number for identification */ __le32 h_magic; /* magic number for identification */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册