diff options
author | Chao Yu <yuchao0@huawei.com> | 2019-08-15 13:45:34 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-08-23 16:57:13 +0200 |
commit | 3ee0c5d3b4e8bb0990a800449509c087f270d4a6 (patch) | |
tree | 6301e423f3320b04ac6c1b9d70631e230344cd58 /fs | |
parent | f2fs: Support case-insensitive file name lookups (diff) | |
download | linux-3ee0c5d3b4e8bb0990a800449509c087f270d4a6.tar.xz linux-3ee0c5d3b4e8bb0990a800449509c087f270d4a6.zip |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/f2fs/f2fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 3f57ab6c9137..09ad4116d635 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -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; |