f2fs: let's allow compression for mmap files
This patch allows to compress mmap files. E.g., for so files. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
0dd571785d
commit
e3c548323d
|
@ -952,8 +952,6 @@ static bool cluster_may_compress(struct compress_ctx *cc)
|
|||
return false;
|
||||
if (f2fs_is_atomic_file(cc->inode))
|
||||
return false;
|
||||
if (f2fs_is_mmap_file(cc->inode))
|
||||
return false;
|
||||
if (!f2fs_cluster_is_full(cc))
|
||||
return false;
|
||||
if (unlikely(f2fs_cp_error(F2FS_I_SB(cc->inode))))
|
||||
|
|
Loading…
Reference in New Issue