diff options
author | 2024-03-19 19:33:24 +0800 | |
---|---|---|
committer | 2024-05-02 23:48:31 -0400 | |
commit | 261341a932d9244cbcd372a3659428c8723e5a49 (patch) | |
tree | eccf833527137054e5070939db36824e0f472517 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ext4: set type of ac_groups_linear_remaining to __u32 to avoid overflow (diff) | |
download | wireguard-linux-261341a932d9244cbcd372a3659428c8723e5a49.tar.xz wireguard-linux-261341a932d9244cbcd372a3659428c8723e5a49.zip |
ext4: set the type of max_zeroout to unsigned int to avoid overflow
The max_zeroout is of type int and the s_extent_max_zeroout_kb is of
type uint, and the s_extent_max_zeroout_kb can be freely modified via
the sysfs interface. When the block size is 1024, max_zeroout may
overflow, so declare it as unsigned int to avoid overflow.
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20240319113325.3110393-9-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions