aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorWang Jianjian <[email protected]>2023-08-03 00:28:39 +0800
committerTheodore Ts'o <[email protected]>2023-08-27 11:27:12 -0400
commit68228da51c9a436872a4ef4b5a7692e29f7e5bc7 (patch)
tree3ecc363042c80692757e7a284de16c444a0404c7 /lib/test_fortify/write_overflow-strncpy-src.c
parentb6c7d6dc8aebc04cefd342d6cccd24932be37d12 (diff)
ext4: add correct group descriptors and reserved GDT blocks to system zone
When setup_system_zone, flex_bg is not initialized so it is always 1. Use a new helper function, ext4_num_base_meta_blocks() which does not depend on sbi->s_log_groups_per_flex being initialized. [ Squashed two patches in the Link URL's below together into a single commit, which is simpler to review/understand. Also fix checkpatch warnings. --TYT ] Cc: [email protected] Signed-off-by: Wang Jianjian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions