mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] f2fs: compress tmp files given extension
@ 2023-06-06 20:36 Jaegeuk Kim
  2023-06-12 14:18 ` [f2fs-dev] " Chao Yu
  2023-06-13 22:14 ` [PATCH v2] " Jaegeuk Kim
  0 siblings, 2 replies; 11+ messages in thread
From: Jaegeuk Kim @ 2023-06-06 20:36 UTC (permalink / raw)
  To: linux-kernel, linux-f2fs-devel; +Cc: Jaegeuk Kim

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

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
---
 fs/f2fs/namei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c
index 3e35eb7dbb8f..cdc94c8e60f7 100644
--- a/fs/f2fs/namei.c
+++ b/fs/f2fs/namei.c
@@ -161,7 +161,7 @@ static void set_compress_new_inode(struct f2fs_sb_info *sbi, struct inode *dir,
 
 	/* Compress wanting extension. */
 	for (i = 0; i < ext_cnt; i++) {
-		if (is_extension_exist(name, ext[i], false)) {
+		if (is_extension_exist(name, ext[i], true)) {
 			set_compress_context(inode);
 			return;
 		}
-- 
2.41.0.rc0.172.g3f132b7071-goog


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-06-25  2:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06 20:36 [PATCH] f2fs: compress tmp files given extension Jaegeuk Kim
2023-06-12 14:18 ` [f2fs-dev] " Chao Yu
2023-06-12 15:36   ` Jaegeuk Kim
2023-06-13  1:11     ` Chao Yu
2023-06-13 22:14 ` [PATCH v2] " Jaegeuk Kim
2023-06-20 15:14   ` [f2fs-dev] " Chao Yu
2023-06-22  7:10     ` Jaegeuk Kim
2023-06-22  7:12   ` [f2fs-dev] [PATCH v3] " Jaegeuk Kim
2023-06-23  1:41     ` Chao Yu
2023-06-23 19:15     ` [f2fs-dev] [PATCH v4] " Jaegeuk Kim
2023-06-25  2:49       ` Chao Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome