summaryrefslogtreecommitdiff
path: root/include/linux/f2fs_fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-04-20 13:57:51 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2015-05-28 15:41:45 -0700
commitcde4de1205770514005663d70a9a7d81cb555085 (patch)
tree611ae5b0c5c5693e4365a61ec6edc3751ff457ff /include/linux/f2fs_fs.h
parent7f63eb77af7bd7580b27b0c3f249f7efaa5c63ae (diff)
f2fs crypto: declare some definitions for f2fs encryption feature
This definitions will be used by inode and superblock for encyption. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/f2fs_fs.h')
-rw-r--r--include/linux/f2fs_fs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index d44e97f2b98e..920408a21ffd 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -91,7 +91,9 @@ struct f2fs_super_block {
__u8 version[VERSION_LEN]; /* the kernel version */
__u8 init_version[VERSION_LEN]; /* the initial kernel version */
__le32 feature; /* defined features */
- __u8 reserved[888]; /* valid reserved region */
+ __u8 encryption_level; /* versioning level for encryption */
+ __u8 encrypt_pw_salt[16]; /* Salt used for string2key algorithm */
+ __u8 reserved[871]; /* valid reserved region */
} __packed;
/*