f2fs: make get_lock_data_page to handle encrypted inode
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 7 Sep 2017 04:04:44 +0000 (21:04 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 8 Sep 2017 03:55:51 +0000 (20:55 -0700)
commit13ba41e346170e594b7ce582561b3efa5b85f18f
tree416ca8f3fba37aa7249b6242138aef6b38de6f72
parentd4c759ee5faa51e0b0ee55d8a229ba5b80c4917e
f2fs: make get_lock_data_page to handle encrypted inode

This patch refactors get_lock_data_page() to handle encryption case directly.
In order to do that, it introduces common f2fs_submit_page_read().

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c