Skip to content

Commit 0eda086

Browse files
chaseyuJaegeuk Kim
authored andcommitted
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. Cc: stable@kernel.org Fixes: c521a6a ("f2fs: fix to limit gc_pin_file_threshold") Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
1 parent 7633a73 commit 0eda086

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/f2fs/sysfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ static ssize_t __sbi_store(struct f2fs_attr *a,
797797
return count;
798798
}
799799

800-
if (!strcmp(a->attr.name, "gc_pin_file_threshold")) {
800+
if (!strcmp(a->attr.name, "gc_pin_file_thresh")) {
801801
if (t > MAX_GC_FAILED_PINNED_FILES)
802802
return -EINVAL;
803803
sbi->gc_pin_file_threshold = t;

0 commit comments

Comments
 (0)