summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-07-17 14:41:47 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2018-08-01 20:52:36 +0200
commit5b72d5e0df787c38cbd9c3e31c5ed197928ef612 (patch)
tree9fce93845d393a260693b371f224689016fda5e3 /fs/f2fs
parentf2fs: clean up with get_current_nat_page (diff)
downloadlinux-5b72d5e0df787c38cbd9c3e31c5ed197928ef612.tar.xz
linux-5b72d5e0df787c38cbd9c3e31c5ed197928ef612.zip
f2fs: clean up with f2fs_encrypted_inode()
Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index d41f2138b2a9..22c1e5a72855 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -1615,7 +1615,7 @@ static int f2fs_ioc_getflags(struct file *filp, unsigned long arg)
struct f2fs_inode_info *fi = F2FS_I(inode);
unsigned int flags = fi->i_flags;
- if (file_is_encrypt(inode))
+ if (f2fs_encrypted_inode(inode))
flags |= F2FS_ENCRYPT_FL;
if (f2fs_has_inline_data(inode) || f2fs_has_inline_dentry(inode))
flags |= F2FS_INLINE_DATA_FL;