]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: allow compression of files without blocks
authorChao Liu <liuchao@coolpad.com>
Thu, 7 Jul 2022 09:09:24 +0000 (17:09 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 31 Jul 2022 03:17:06 +0000 (20:17 -0700)
commit3c8c979330ded10fdd5398ec62629c0064b021ed
treeca80f42843f5d4fa25c48d1b05c8808b982efefd
parent23d7d02bf90d674b4a143f4d46c710a4cd54e521
f2fs: allow compression of files without blocks

Files created by truncate(1) have a size but no blocks, so
they can be allowed to enable compression.

Signed-off-by: Chao Liu <liuchao@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c