summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-07-08 22:16:54 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-08-01 11:52:36 -0700
commit4c6b56c002caf0b3a9aaaeb493c59d53daeaff40 (patch)
treec795c1843c177162275178ca8452890df95ac475 /fs/f2fs
parent2482c4325dfe03b679a8bd7e0f1d14e230f019b3 (diff)
downloadlinux-stable-4c6b56c002caf0b3a9aaaeb493c59d53daeaff40.tar.gz
linux-stable-4c6b56c002caf0b3a9aaaeb493c59d53daeaff40.tar.bz2
linux-stable-4c6b56c002caf0b3a9aaaeb493c59d53daeaff40.zip
f2fs: clean up with IS_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/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c
index b52440f06fa5..ccdf6abde5f7 100644
--- a/fs/f2fs/inode.c
+++ b/fs/f2fs/inode.c
@@ -122,7 +122,7 @@ static bool f2fs_enable_inode_chksum(struct f2fs_sb_info *sbi, struct page *page
if (!f2fs_sb_has_inode_chksum(sbi->sb))
return false;
- if (!RAW_IS_INODE(F2FS_NODE(page)) || !(ri->i_inline & F2FS_EXTRA_ATTR))
+ if (!IS_INODE(page) || !(ri->i_inline & F2FS_EXTRA_ATTR))
return false;
if (!F2FS_FITS_IN_INODE(ri, le16_to_cpu(ri->i_extra_isize),