summaryrefslogtreecommitdiff
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorSungjong Seo <sj1557.seo@samsung.com>2022-05-24 04:29:11 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2022-05-25 09:06:38 +0300
commit66d34fcbbe63ebd8584b792e0d741f6648100894 (patch)
treee371da72083bad046b1f27843ec8ad32f0bfc4cb /fs/f2fs/segment.c
parent759820c92a346dd18daaa8873f5cabe731d8a31c (diff)
downloadlinux-66d34fcbbe63ebd8584b792e0d741f6648100894.tar.xz
f2fs: allow compression for mmap files in compress_mode=user
Since commit e3c548323d32 ("f2fs: let's allow compression for mmap files"), it has been allowed to compress mmap files. However, in compress_mode=user, it is not allowed yet. To keep the same concept in both compress_modes, f2fs_ioc_(de)compress_file() should also allow it. Let's remove checking mmap files in f2fs_ioc_(de)compress_file() so that the compression for mmap files is also allowed in compress_mode=user. Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
0 files changed, 0 insertions, 0 deletions