f2fs: fix to check sysfs filename w/ gc_pin_file_thresh correctly
Chao Yu
maintainerPATCH 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")
Signed-off-by Chao Yu <[email protected]>
--- fs/f2fs/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/f2fs/sysfs.c +1 -1
@@ -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
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_threshinstead ofgc_pin_file_threshold, fix it.Fixes c521a6ab4ad7 ("f2fs: fix to limit gc_pin_file_threshold")Signed-off-by Chao Yu <[email protected]>[...]
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