summaryrefslogtreecommitdiff
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-02-29 18:49:06 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-05-08 06:55:56 -0700
commitb5f4684b5f5fe6ea3c0d57acf5acdf8e8fbfe503 (patch)
treebecfd341160a2f0da3cfce798c163d8e960c26e3 /fs/f2fs/f2fs.h
parent3c57f75182452cc954f5e12374601b72574f4709 (diff)
f2fs: remove redundant compress inode check
due to f2fs_post_read_required() has did that. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index d036a31a97e8..a3809b092798 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -4047,8 +4047,6 @@ static inline bool f2fs_force_buffered_io(struct inode *inode,
return true;
if (f2fs_is_multi_device(sbi))
return true;
- if (f2fs_compressed_file(inode))
- return true;
/*
* for blkzoned device, fallback direct IO to buffered IO, so
* all IOs can be serialized by log-structured write.