[PATCH -next 0/2] Rework fix method for memleak in

From: Zhihao Cheng
Date: Wed Mar 01 2023 - 07:06:22 EST


Patch 1 reverts old solution.
Patch 2 provides a new fix method.

https://lore.kernel.org/lkml/20230215022507.2363193-1-chengzhihao1@xxxxxxxxxx/

Zhihao Cheng (2):
Revert "ubifs: dirty_cow_znode: Fix memleak in error handling path"
ubifs: dirty_cow_znode: Fix memleak when insert_old_idx() failed

fs/ubifs/tnc.c | 142 ++++++++++++++++++++++++++++++-------------------
1 file changed, 86 insertions(+), 56 deletions(-)

--
2.31.1