projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80551d1
)
f2fs: clean up with f2fs_encrypted_inode()
author
Chao Yu
<yuchao0@huawei.com>
Tue, 17 Jul 2018 12:41:47 +0000
(20:41 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 1 Aug 2018 18:52:36 +0000
(11:52 -0700)
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/file.c
b/fs/f2fs/file.c
index
d41f213
..
22c1e5a
100644
(file)
--- 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 (f
ile_is_encrypt
(inode))
+ if (f
2fs_encrypted_inode
(inode))
flags |= F2FS_ENCRYPT_FL;
if (f2fs_has_inline_data(inode) || f2fs_has_inline_dentry(inode))
flags |= F2FS_INLINE_DATA_FL;