aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inline.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-04-23 12:04:33 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2015-05-28 15:41:52 -0700
commit4375a33664de17af9032b5f491a49bd256670927 (patch)
tree7c083fd9fafecaac1e6b49d5c60abe1ecbe68ece /fs/f2fs/inline.c
parentf2fs crypto: activate encryption support for fs APIs (diff)
downloadlinux-dev-4375a33664de17af9032b5f491a49bd256670927.tar.xz
linux-dev-4375a33664de17af9032b5f491a49bd256670927.zip
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>
Diffstat (limited to 'fs/f2fs/inline.c')
-rw-r--r--fs/f2fs/inline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c
index 5f5b34be5cd9..b0b780502836 100644
--- a/fs/f2fs/inline.c
+++ b/fs/f2fs/inline.c
@@ -113,6 +113,7 @@ int f2fs_convert_inline_page(struct dnode_of_data *dn, struct page *page)
.type = DATA,
.rw = WRITE_SYNC | REQ_PRIO,
.page = page,
+ .encrypted_page = NULL,
};
int dirty, err;