diff options
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/xattr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h index 29bedf5589f6..ddc0957760ba 100644 --- a/fs/ext4/xattr.h +++ b/fs/ext4/xattr.h | |||
@@ -23,6 +23,7 @@ | |||
23 | #define EXT4_XATTR_INDEX_SECURITY 6 | 23 | #define EXT4_XATTR_INDEX_SECURITY 6 |
24 | #define EXT4_XATTR_INDEX_SYSTEM 7 | 24 | #define EXT4_XATTR_INDEX_SYSTEM 7 |
25 | #define EXT4_XATTR_INDEX_RICHACL 8 | 25 | #define EXT4_XATTR_INDEX_RICHACL 8 |
26 | #define EXT4_XATTR_INDEX_ENCRYPTION 9 | ||
26 | 27 | ||
27 | struct ext4_xattr_header { | 28 | struct ext4_xattr_header { |
28 | __le32 h_magic; /* magic number for identification */ | 29 | __le32 h_magic; /* magic number for identification */ |
@@ -98,6 +99,8 @@ extern const struct xattr_handler ext4_xattr_user_handler; | |||
98 | extern const struct xattr_handler ext4_xattr_trusted_handler; | 99 | extern const struct xattr_handler ext4_xattr_trusted_handler; |
99 | extern const struct xattr_handler ext4_xattr_security_handler; | 100 | extern const struct xattr_handler ext4_xattr_security_handler; |
100 | 101 | ||
102 | #define EXT4_XATTR_NAME_ENCRYPTION_CONTEXT "c" | ||
103 | |||
101 | extern ssize_t ext4_listxattr(struct dentry *, char *, size_t); | 104 | extern ssize_t ext4_listxattr(struct dentry *, char *, size_t); |
102 | 105 | ||
103 | extern int ext4_xattr_get(struct inode *, int, const char *, void *, size_t); | 106 | extern int ext4_xattr_get(struct inode *, int, const char *, void *, size_t); |