f2fs crypto: add encryption support in read/write paths
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 23 Apr 2015 19:04:33 +0000 (12:04 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 May 2015 22:41:52 +0000 (15:41 -0700)
commit4375a33664de17af9032b5f491a49bd256670927
tree7c083fd9fafecaac1e6b49d5c60abe1ecbe68ece
parentfcc85a4d86b5018f08717160c89c0eb50afd1dca
f2fs crypto: add encryption support in read/write paths

This patch adds encryption support in read and write paths.

Note that, in f2fs, we need to consider cleaning operation.
In cleaning procedure, we must avoid encrypting and decrypting written blocks.
So, this patch implements move_encrypted_block().

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/inline.c
fs/f2fs/node.c
fs/f2fs/segment.c