projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d33793f
)
f2fs crypto: add encryption xattr support
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 10 Apr 2015 23:43:31 +0000
(16:43 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 28 May 2015 22:41:47 +0000
(15:41 -0700)
This patch add some definition for enrcyption xattr.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/xattr.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/xattr.h
b/fs/f2fs/xattr.h
index 969d792ca36229b6871aae29fb31406fab15ffe6..71a7100d5492e830125b32f560c5021bb6ada30a 100644
(file)
--- 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 */