kernel_optimize_test/fs/f2fs
Jaegeuk Kim f424f664f0 f2fs crypto: add encryption policy and password salt support
This patch adds encryption policy and password salt support through ioctl
implementation.

It adds three ioctls:
 F2FS_IOC_SET_ENCRYPTION_POLICY,
 F2FS_IOC_GET_ENCRYPTION_POLICY,
 F2FS_IOC_GET_ENCRYPTION_PWSALT, which use xattr operations.

Note that, these definition and codes are taken from ext4 crypto support.
For f2fs, xattr operations and on-disk flags for superblock and inode were
changed.

Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Ildar Muslukhov <muslukhovi@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2015-05-28 15:41:48 -07:00
..
acl.c f2fs: make posix_acl_create() safer and cleaner 2015-05-07 11:38:31 -07:00
acl.h f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00
checkpoint.c f2fs: issue discard with finally produced len and minlen 2015-05-28 15:41:39 -07:00
crypto_policy.c f2fs crypto: add encryption policy and password salt support 2015-05-28 15:41:48 -07:00
data.c f2fs: report unwritten area in f2fs_fiemap 2015-05-28 15:41:45 -07:00
debug.c f2fs: avoid value overflow in showing current status 2015-05-28 15:41:44 -07:00
dir.c f2fs: split find_data_page according to specific purposes 2015-05-28 15:41:37 -07:00
f2fs_crypto.h f2fs crypto: declare some definitions for f2fs encryption feature 2015-05-28 15:41:45 -07:00
f2fs.h f2fs crypto: add encryption policy and password salt support 2015-05-28 15:41:48 -07:00
file.c f2fs crypto: add encryption policy and password salt support 2015-05-28 15:41:48 -07:00
gc.c f2fs: split find_data_page according to specific purposes 2015-05-28 15:41:37 -07:00
gc.h f2fs: fix sparse warnings 2015-02-11 17:04:49 -08:00
hash.c f2fs: introduce dot and dotdot name check 2015-05-28 15:41:34 -07:00
inline.c f2fs: add sbi and page pointer in f2fs_io_info 2015-05-28 15:41:32 -07:00
inode.c f2fs: fix sparse warnings 2015-04-10 15:08:55 -07:00
Kconfig f2fs crypto: add f2fs encryption Kconfig 2015-05-28 15:41:46 -07:00
Makefile f2fs crypto: add encryption policy and password salt support 2015-05-28 15:41:48 -07:00
namei.c f2fs: fix counting the number of inline_data inodes 2015-05-28 15:41:36 -07:00
node.c f2fs: do not re-lookup nat cache with same nid 2015-05-28 15:41:41 -07:00
node.h f2fs: move existing definitions into f2fs.h 2015-05-28 15:41:27 -07:00
recovery.c f2fs: introduce f2fs_replace_block() for reuse 2015-05-28 15:41:42 -07:00
segment.c f2fs: introduce f2fs_replace_block() for reuse 2015-05-28 15:41:42 -07:00
segment.h f2fs: introduce discard_map for f2fs_trim_fs 2015-05-28 15:41:39 -07:00
super.c f2fs: add sbi and page pointer in f2fs_io_info 2015-05-28 15:41:32 -07:00
trace.c f2fs: add sbi and page pointer in f2fs_io_info 2015-05-28 15:41:32 -07:00
trace.h f2fs: add sbi and page pointer in f2fs_io_info 2015-05-28 15:41:32 -07:00
xattr.c f2fs crypto: add encryption policy and password salt support 2015-05-28 15:41:48 -07:00
xattr.h f2fs crypto: add encryption xattr support 2015-05-28 15:41:47 -07:00