Skip to contentSkip to conversation

f2fs: fix to check sysfs filename w/ gc_pin_file_thresh correctly

PATCH Applied Chao Yu 2 participants 2 messages Jan 6 – Jan 7 F2FS file system

lore
Share & tools
lore

Chao Yu

author maintainer
#0 lore raw

PATCH 1/1 f2fs: fix to check sysfs filename w/ gc_pin_file_thresh correctly

Sysfs entry name is gc_pin_file_thresh instead of gc_pin_file_threshold, fix it.

Fixes c521a6ab4ad7 ("f2fs: fix to limit gc_pin_file_threshold")
---
 fs/f2fs/sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/f2fs/sysfs.c +1 -1
index 91bc0544ba1f..cd22bfe75c45 100644
@@ -797,7 +797,7 @@ static ssize_t __sbi_store(struct f2fs_attr *a,
 		return count;
 	}
 
-	if (!strcmp(a->attr.name, "gc_pin_file_threshold")) {
+	if (!strcmp(a->attr.name, "gc_pin_file_thresh")) {
 		if (t > MAX_GC_FAILED_PINNED_FILES)
 			return -EINVAL;
 		sbi->gc_pin_file_threshold = t;
Signature · 1 line
2.40.1
#1 lore raw
This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <[email protected]>:

Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:

Quoted 8 lines · On Tue, 6 Jan 2026 14:31:17 +0800 you wrote:

Sysfs entry name is gc_pin_file_thresh instead of gc_pin_file_threshold, fix it.

Fixes c521a6ab4ad7 ("f2fs: fix to limit gc_pin_file_threshold")

[...]

Here is the summary with links:
- [f2fs-dev] f2fs: fix to check sysfs filename w/ gc_pin_file_thresh correctly

    https://git.kernel.org/jaegeuk/f2fs/c/0eda086de85e

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html