[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221021153825.79614-1-frank.li@vivo.com>
Date: Fri, 21 Oct 2022 23:38:24 +0800
From: Yangtao Li <frank.li@...o.com>
To: jaegeuk@...nel.org, chao@...nel.org
Cc: linux-f2fs-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, Yangtao Li <frank.li@...o.com>
Subject: [PATCH 1/2] f2fs: fix to correct invalid batched_trim_sections node
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@...o.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
Powered by blists - more mailing lists