projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c2eb7a
)
f2fs: use wrapped IS_SWAPFILE()
author
Chao Yu
<yuchao0@huawei.com>
Thu, 15 Aug 2019 11:45:34 +0000
(19:45 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 23 Aug 2019 14:57:13 +0000
(07:57 -0700)
Just cleanup, no logic change.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
patch
|
blob
|
history
diff --git
a/fs/f2fs/f2fs.h
b/fs/f2fs/f2fs.h
index 3f57ab6c91377fcfa449b848e63183e38d43f330..09ad4116d635dc399ca3e346bdf9deabfee9b48e 100644
(file)
--- 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;