[PATCH 0/1] btrfs: free remap records when balance stops early

Xixin Liu posted 1 patch 3 days, 13 hours ago
fs/btrfs/volumes.c | 65 ++++++++++++++++++++++++++---------------------
1 file changed, 36 insertions(+), 29 deletions(-)
[PATCH 0/1] btrfs: free remap records when balance stops early
Posted by Xixin Liu 3 days, 13 hours ago
Hi,

This patch frees leaked remap records when balance stops early. Early
error returns left kmalloc records on the stack list. Share one free
helper at the remap pass end and on error when the list is non-empty.

Tested on linux-next next-20260914 for cancel and complete cases.

Thanks,
Xixin Liu

---
liuxixin (1):
  btrfs: free remap records when balance stops early

 fs/btrfs/volumes.c | 65 ++++++++++++++++++++++++++---------------------
 1 file changed, 36 insertions(+), 29 deletions(-)

-- 
2.43.0