diff options
author | 2025-04-28 21:50:50 +0800 | |
---|---|---|
committer | 2025-04-29 13:08:29 +0200 | |
commit | 9f81d707022c244c1930cc6da9f026d0f8acab6c (patch) | |
tree | 74709830582d5e11356efcf35f6794a9ec9d6c53 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs: add S_ANON_INODE (diff) | |
download | linux-rng-9f81d707022c244c1930cc6da9f026d0f8acab6c.tar.xz linux-rng-9f81d707022c244c1930cc6da9f026d0f8acab6c.zip |
fs: remove useless plus one in super_cache_scan()
After commit 475d0db742e3 ("fs: Fix theoretical division by 0 in
super_cache_scan()."), there's no need to plus one to prevent
division by zero.
Remove it to simplify the code.
Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Link: https://lore.kernel.org/20250428135050.267297-1-alexjlzheng@tencent.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions