diff options
author | Jan Kara <jack@suse.cz> | 2019-04-06 18:33:06 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-04-06 18:33:06 -0400 |
commit | 31562b954b60f02acb91b7349dc6432d3f8c3c5f (patch) | |
tree | 765666fd6d389929f1b6c7da4593d0b064562414 /tools/perf/scripts/python/stackcollapse.py | |
parent | fb203751099eecf145317685ee480a51e5b246de (diff) |
ext4: make sanity check in mballoc more strict
The sanity check in mb_find_extent() only checked that returned extent
does not extend past blocksize * 8, however it should not extend past
EXT4_CLUSTERS_PER_GROUP(sb). This can happen when clusters_per_group <
blocksize * 8 and the tail of the bitmap is not properly filled by 1s
which happened e.g. when ancient kernels have grown the filesystem.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions