Commit b5f4684b authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim

f2fs: remove redundant compress inode check

due to f2fs_post_read_required() has did that.
Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 3c57f751
...@@ -4047,8 +4047,6 @@ static inline bool f2fs_force_buffered_io(struct inode *inode, ...@@ -4047,8 +4047,6 @@ static inline bool f2fs_force_buffered_io(struct inode *inode,
return true; return true;
if (f2fs_is_multi_device(sbi)) if (f2fs_is_multi_device(sbi))
return true; return true;
if (f2fs_compressed_file(inode))
return true;
/* /*
* for blkzoned device, fallback direct IO to buffered IO, so * for blkzoned device, fallback direct IO to buffered IO, so
* all IOs can be serialized by log-structured write. * all IOs can be serialized by log-structured write.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment