diff options
author | Baokun Li <[email protected]> | 2024-03-19 19:33:24 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2024-05-02 23:48:31 -0400 |
commit | 261341a932d9244cbcd372a3659428c8723e5a49 (patch) | |
tree | eccf833527137054e5070939db36824e0f472517 /scripts/generate_rust_analyzer.py | |
parent | 9a9f3a9842927e4af7ca10c19c94dad83bebd713 (diff) |
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 <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions