f2fs crypto: add f2fs encryption facilities
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 21 Apr 2015 02:52:47 +0000 (19:52 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 May 2015 22:41:49 +0000 (15:41 -0700)
commit57e5055b0a5e33267b8be366ee52ce5cdc239bc7
tree55ece877a625b61e64729edbfe5648a96051ffce
parentf424f664f0e8949361d268e2e91c7acc8cf63eb2
f2fs crypto: add f2fs encryption facilities

Most of parts were copied from ext4, except:

 - add f2fs_restore_and_release_control_page which returns control page and
   restore control page
 - remove ext4_encrypted_zeroout()
 - remove sbi->s_file_encryption_mode & sbi->s_dir_encryption_mode
 - add f2fs_end_io_crypto_work for mpage_end_io

Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Ildar Muslukhov <ildarm@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/Makefile
fs/f2fs/crypto.c [new file with mode: 0644]
fs/f2fs/f2fs.h
fs/f2fs/super.c