Messages in this thread Patch in this message | | | From | Yangtao Li <> | Subject | [PATCH 1/2] f2fs: fix to correct invalid batched_trim_sections node | Date | Fri, 21 Oct 2022 23:38:24 +0800 |
| |
commit 377224c47118("f2fs: don't split checkpoint in fstrim") obsolete batch mode and related sysfs entry, but use wrong name.
Let's fix it to right name.
Signed-off-by: Yangtao Li <frank.li@vivo.com> --- fs/f2fs/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c index df27afd71ef4..3005e2783a25 100644 --- a/fs/f2fs/sysfs.c +++ b/fs/f2fs/sysfs.c @@ -488,7 +488,7 @@ static ssize_t __sbi_store(struct f2fs_attr *a, return -EINVAL; } - if (!strcmp(a->attr.name, "trim_sections")) + if (!strcmp(a->attr.name, "batched_trim_sections")) return -EINVAL; if (!strcmp(a->attr.name, "gc_urgent")) { -- 2.25.1
| |