aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2024-03-23 00:55:18 +0800
committerTheodore Ts'o <tytso@mit.edu>2024-05-03 00:04:35 -0400
commita11adf7be9d8baefe798eab49c356ab8e3924f0e (patch)
tree9e320ea129a6b892ecf2f9ede5e25efb48af1960 /tools/perf/scripts/python
parent0a46ef234756dca04623b7591e8ebb3440622f0b (diff)
ext4: implement filesystem specific alloc_inode in unit test
We expect inode with ext4_info_info type as following: mbt_kunit_init mbt_mb_init ext4_mb_init ext4_mb_init_backend sbi->s_buddy_cache = new_inode(sb); EXT4_I(sbi->s_buddy_cache)->i_disksize = 0; Implement alloc_inode ionde with ext4_inode_info type to avoid out-of-bounds write. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reported-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20240322165518.8147-1-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions