summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/sysfs.c
diff options
context:
space:
mode:
authorChao Yu <chao.yu@oppo.com>2022-08-20 11:06:00 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2022-08-29 21:15:51 -0700
commit265576181b4afda8c60ae85261f55a8430419884 (patch)
tree20006f6af43072d31e386ffaec920f9c160fd01f /fs/f2fs/sysfs.c
parent34a23525601a16f625b48c3bb0a67fbc795810b3 (diff)
downloadlinux-265576181b4afda8c60ae85261f55a8430419884.tar.gz
linux-265576181b4afda8c60ae85261f55a8430419884.tar.bz2
linux-265576181b4afda8c60ae85261f55a8430419884.zip
f2fs: remove gc_urgent_high_limited for cleanup
Remove redundant sbi->gc_urgent_high_limited. Signed-off-by: Chao Yu <chao.yu@oppo.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/sysfs.c')
-rw-r--r--fs/f2fs/sysfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c
index eba5fb1629d7..39ebf0ad133a 100644
--- a/fs/f2fs/sysfs.c
+++ b/fs/f2fs/sysfs.c
@@ -527,7 +527,6 @@ out:
if (!strcmp(a->attr.name, "gc_urgent_high_remaining")) {
spin_lock(&sbi->gc_urgent_high_lock);
- sbi->gc_urgent_high_limited = t != 0;
sbi->gc_urgent_high_remaining = t;
spin_unlock(&sbi->gc_urgent_high_lock);