f2fs: compress tmp files given extension
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 6 Jun 2023 17:17:47 +0000 (10:17 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 26 Jun 2023 13:21:41 +0000 (06:21 -0700)
commit2724daf6c24c58099a758d1e842d39b10133b065
tree4f70f6778a70d86b811863f2100e0717e0847fab
parent6201c478dedcf7c50361b23b5c4d4f41a68921ac
f2fs: compress tmp files given extension

Let's compress tmp files for the given extension list.

This patch does not change the previous behavior, but allow the cases as below.

Extention example: "ext"

- abc.ext : allow
- abc.ext.abc : allow
- abc.extm : not allow

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c