diff options
author | 2023-03-01 20:29:18 +0800 | |
---|---|---|
committer | 2023-04-23 23:36:19 +0200 | |
commit | 7d01cb27f6aebc54efbe28d8961a973b8f795b13 (patch) | |
tree | 5c8c077e9ea85e77dfbb09fae7ab37f26b3f622b /scripts/generate_rust_analyzer.py | |
parent | ubifs: Fix memory leak in do_rename (diff) | |
download | linux-rng-7d01cb27f6aebc54efbe28d8961a973b8f795b13.tar.xz linux-rng-7d01cb27f6aebc54efbe28d8961a973b8f795b13.zip |
Revert "ubifs: dirty_cow_znode: Fix memleak in error handling path"
This reverts commit 122deabfe1428 (ubifs: dirty_cow_znode: Fix memleak
in error handling path).
After commit 122deabfe1428 applied, if insert_old_idx() failed, old
index neither exists in TNC nor in old-index tree. Which means that
old index node could be overwritten in layout_leb_in_gaps(), then
ubifs image will be corrupted in power-cut.
Fixes: 122deabfe1428 (ubifs: dirty_cow_znode: Fix memleak ... path)
Cc: stable@vger.kernel.org
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions