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

Message ID 20230301122919.266818-1-chengzhihao1@huawei.com
Headers
Series Rework fix method for memleak in |

Message

Zhihao Cheng March 1, 2023, 12:29 p.m. UTC
  Patch 1 reverts old solution.
Patch 2 provides a new fix method.

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

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(-)