Skip to content

Commit b5f4684

Browse files
chaseyuJaegeuk Kim
authored andcommitted
f2fs: remove redundant compress inode check
due to f2fs_post_read_required() has did that. Signed-off-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
1 parent 3c57f75 commit b5f4684

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/f2fs/f2fs.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4047,8 +4047,6 @@ static inline bool f2fs_force_buffered_io(struct inode *inode,
40474047
return true;
40484048
if (f2fs_is_multi_device(sbi))
40494049
return true;
4050-
if (f2fs_compressed_file(inode))
4051-
return true;
40524050
/*
40534051
* for blkzoned device, fallback direct IO to buffered IO, so
40544052
* all IOs can be serialized by log-structured write.

0 commit comments

Comments
 (0)