diff options
author | 2024-05-06 18:45:38 +0800 | |
---|---|---|
committer | 2024-05-09 01:03:44 +0000 | |
commit | c521a6ab4ad75fe0755f4cd923a84e1289153aa2 (patch) | |
tree | 4030c2393f2c77c197e9120ba56f324f3feb2814 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f2fs: remove unused GC_FAILURE_PIN (diff) | |
download | wireguard-linux-c521a6ab4ad75fe0755f4cd923a84e1289153aa2.tar.xz wireguard-linux-c521a6ab4ad75fe0755f4cd923a84e1289153aa2.zip |
f2fs: fix to limit gc_pin_file_threshold
type of f2fs_inode.i_gc_failures, f2fs_inode_info.i_gc_failures, and
f2fs_sb_info.gc_pin_file_threshold is __le16, unsigned int, and u64,
so it will cause truncation during comparison and persistence.
Unifying variable of these three variables to unsigned short, and
add an upper boundary limitation for gc_pin_file_threshold.
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions