linux/fs/f2fs
Jaegeuk Kim fcc85a4d86 f2fs crypto: activate encryption support for fs APIs
This patch activates the following APIs for encryption support.

The rules quoted by ext4 are:
 - An unencrypted directory may contain encrypted or unencrypted files
   or directories.
 - All files or directories in a directory must be protected using the
   same key as their containing directory.
 - Encrypted inode for regular file should not have inline_data.
 - Encrypted symlink and directory may have inline_data and inline_dentry.

This patch activates the following APIs.
1. f2fs_link              : validate context
2. f2fs_lookup            :      ''
3. f2fs_rename            :      ''
4. f2fs_create/f2fs_mkdir : inherit its dir's context
5. f2fs_direct_IO         : do buffered io for regular files
6. f2fs_open              : check encryption info
7. f2fs_file_mmap         :      ''
8. f2fs_setattr           :      ''
9. f2fs_file_write_iter   :      ''           (Called by sys_io_submit)
10. f2fs_fallocate        : do not support fcollapse
11. f2fs_evict_inode      : free_encryption_info

Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2015-05-28 15:41:51 -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_fname.c f2fs crypto: filename encryption facilities 2015-05-28 15:41:50 -07:00
crypto_key.c f2fs crypto: add encryption key management facilities 2015-05-28 15:41:49 -07:00
crypto_policy.c f2fs crypto: add encryption policy and password salt support 2015-05-28 15:41:48 -07:00
crypto.c f2fs crypto: add f2fs encryption facilities 2015-05-28 15:41:49 -07:00
data.c f2fs crypto: activate encryption support for fs APIs 2015-05-28 15:41:51 -07:00
debug.c f2fs: avoid value overflow in showing current status 2015-05-28 15:41:44 -07:00
dir.c f2fs crypto: activate encryption support for fs APIs 2015-05-28 15:41:51 -07:00
f2fs_crypto.h f2fs crypto: add encryption key management facilities 2015-05-28 15:41:49 -07:00
f2fs.h f2fs crypto: activate encryption support for fs APIs 2015-05-28 15:41:51 -07:00
file.c f2fs crypto: activate encryption support for fs APIs 2015-05-28 15:41:51 -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 crypto: activate encryption support for fs APIs 2015-05-28 15:41:51 -07:00
inode.c f2fs crypto: activate encryption support for fs APIs 2015-05-28 15:41:51 -07:00
Kconfig f2fs crypto: add f2fs encryption Kconfig 2015-05-28 15:41:46 -07:00
Makefile f2fs crypto: filename encryption facilities 2015-05-28 15:41:50 -07:00
namei.c f2fs crypto: activate encryption support for fs APIs 2015-05-28 15:41:51 -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 crypto: add f2fs encryption facilities 2015-05-28 15:41:49 -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