f2fs: introduce f2fs_encrypted_file for clean-up
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 5 Sep 2017 23:54:24 +0000 (16:54 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 6 Sep 2017 03:11:29 +0000 (20:11 -0700)
commit1958593e4fa9fa9e3e2d03b27e72af314c2891be
treeac86368a7315dacf4fe1d4c5d4c811f40daa2f6a
parent2afce76a1151fe2f1104962c327d8f85047045e6
f2fs: introduce f2fs_encrypted_file for clean-up

This patch replaces (f2fs_encrypted_inode() && S_ISREG()) with
f2fs_encrypted_file(), which gives no functional change.

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