diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-03-04 01:21:09 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-04-06 01:13:11 -0400 |
commit | 139f46d3b5e69937025faa38cb0a3711b9808158 (patch) | |
tree | 0320ed83cea92619e12302c28f2e4fa95ea7ede3 /scripts/gdb/linux/utils.py | |
parent | 85b67ffb7d2bab27cc6c479e949e6fab7fb41aee (diff) |
ext4: Remove unnecessary release when memory allocation failed in ext4_mb_init_cache
If we alloc array of buffer_head failed, there is no resource need to be
freed and we can simpily return error.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://lore.kernel.org/r/20230303172120.3800725-10-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions