diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2024-08-20 16:22:28 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-09-04 05:12:15 +0300 |
commit | 5e5b2a56c57def1b41efd49596621504d7bcc61c (patch) | |
tree | f0dc1f2f51396e35398c48ff04a96f305866d42c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 20cee68f5b44fdc2942d20f3172a262ec247b117 (diff) | |
download | linux-5e5b2a56c57def1b41efd49596621504d7bcc61c.tar.xz |
ext4: avoid buffer_head leak in ext4_mark_inode_used()
Release inode_bitmap_bh from ext4_read_inode_bitmap() in
ext4_mark_inode_used() to avoid buffer_head leak.
By the way, remove unneeded goto for invalid ino when inode_bitmap_bh
is NULL.
Fixes: 8016e29f4362 ("ext4: fast commit recovery path")
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Link: https://patch.msgid.link/20240820132234.2759926-2-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions