aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorBoris Burkov <[email protected]>2023-12-01 21:00:11 +0000
committerDavid Sterba <[email protected]>2023-12-06 21:32:49 +0000
commitb321a52cce062ec7ed385333a33905d22159ce36 (patch)
tree86ae2827e657bf7c8d0b9d61cf96059341d2a767 /lib/debugobjects.c
parentbtrfs: fix qgroup_free_reserved_data int overflow (diff)
downloadkernel-b321a52cce062ec7ed385333a33905d22159ce36.tar.gz
kernel-b321a52cce062ec7ed385333a33905d22159ce36.zip
btrfs: free qgroup pertrans reserve on transaction abort
If we abort a transaction, we never run the code that frees the pertrans qgroup reservation. This results in warnings on unmount as that reservation has been leaked. The leak isn't a huge issue since the fs is read-only, but it's better to clean it up when we know we can/should. Do it during the cleanup_transaction step of aborting. CC: [email protected] # 5.15+ Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Boris Burkov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions