提交 3ee0c5d3 编写于 作者: C Chao Yu 提交者: Jaegeuk Kim

f2fs: use wrapped IS_SWAPFILE()

Just cleanup, no logic change.
Signed-off-by: NChao Yu <yuchao0@huawei.com>
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 2c2eb7a3
......@@ -3703,7 +3703,7 @@ static inline bool f2fs_force_buffered_io(struct inode *inode,
block_unaligned_IO(inode, iocb, iter))
return true;
if (is_sbi_flag_set(F2FS_I_SB(inode), SBI_CP_DISABLED) &&
!(inode->i_flags & S_SWAPFILE))
!IS_SWAPFILE(inode))
return true;
return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册