mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
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>
This commit is contained in:
parent
3c57f75182
commit
b5f4684b5f
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user