f2fs: use wrapped IS_SWAPFILE()
Just cleanup, no logic change. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
2c2eb7a300
commit
3ee0c5d3b4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user