summaryrefslogtreecommitdiffstats
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-03-21 20:19:33 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-03-30 20:46:24 -0700
commit8c7d4b57607bbcd1d754be58de34138d9429f3e4 (patch)
treeb608a19ad40cf707027e579370d94eae9a47fec6 /fs/fs_struct.c
parentb13f67ffe347cad69323a17dcc698e83c92ccb3d (diff)
downloadlinux-8c7d4b57607bbcd1d754be58de34138d9429f3e4.tar.bz2
f2fs: clean up f2fs_may_encrypt()
Merge below two conditions into f2fs_may_encrypt() for cleanup - IS_ENCRYPTED() - DUMMY_ENCRYPTION_ENABLED() Check IS_ENCRYPTED(inode) condition in f2fs_init_inode_metadata() is enough since we have already set encrypt flag in f2fs_new_inode(). Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions