Boris Burkov
624bc6f62c
btrfs: free qgroup pertrans reserve on transaction abort
...
[ Upstream commit b321a52cce062ec7ed385333a33905d22159ce36 ]
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: stable@vger.kernel.org # 5.15+
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Boris Burkov <boris@bur.io>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-01 12:42:24 +00:00
..
2023-11-28 17:19:35 +00:00
2022-12-05 18:00:58 +01:00
2023-08-21 14:52:13 +02:00
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:27 +01:00
2023-06-19 13:59:30 +02:00
2023-06-19 13:59:30 +02:00
2023-10-23 17:17:30 +02:00
2023-10-23 17:17:30 +02:00
2023-06-19 13:59:36 +02:00
2023-06-19 13:59:36 +02:00
2023-11-28 17:19:35 +00:00
2023-08-21 14:52:12 +02:00
2023-07-20 19:22:54 +02:00
2023-06-19 13:59:24 +02:00
2023-08-21 14:52:14 +02:00
2023-06-19 13:59:34 +02:00
2023-06-19 17:01:44 +02:00
2023-06-19 13:59:36 +02:00
2023-11-28 17:19:35 +00:00
2023-11-28 17:19:35 +00:00
2023-06-19 13:59:30 +02:00
2022-12-05 18:00:46 +01:00
2023-12-20 17:02:03 +01:00
2022-12-05 18:00:44 +01:00
2023-11-28 17:19:35 +00:00
2023-10-11 11:37:19 +02:00
2023-09-20 20:42:18 +02:00
2023-09-20 20:42:18 +02:00
2023-11-28 17:19:35 +00:00
2022-12-05 18:00:47 +01:00
2023-11-28 17:19:35 +00:00
2022-12-05 18:00:46 +01:00
2023-06-19 13:59:25 +02:00
2023-06-19 13:59:25 +02:00
2024-01-01 12:42:24 +00:00
2023-11-28 17:19:35 +00:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:41 +01:00
2023-12-20 17:02:03 +01:00
2023-08-21 14:52:19 +02:00
2023-08-18 14:38:10 +02:00
2023-06-19 13:59:33 +02:00
2023-08-21 14:52:12 +02:00
2023-08-21 14:52:12 +02:00
2023-11-28 17:19:35 +00:00
2023-08-21 14:54:47 +02:00
2023-11-28 17:19:35 +00:00
2023-08-21 14:54:48 +02:00
2023-12-20 17:02:03 +01:00
2022-12-05 18:00:56 +01:00
2023-11-28 17:19:35 +00:00
2023-06-19 13:59:24 +02:00
2023-11-28 17:19:35 +00:00
2023-05-10 14:51:27 +02:00
2023-02-13 17:50:35 +01:00
2023-08-21 14:52:19 +02:00
2023-11-28 17:19:35 +00:00
2023-06-19 13:59:25 +02:00
2023-12-20 17:02:03 +01:00
2023-12-20 17:02:01 +01:00
2023-01-19 09:24:27 +01:00
2023-09-08 14:21:27 +02:00
2023-06-19 13:59:35 +02:00
2023-09-08 14:10:49 +02:00
2023-02-15 19:38:50 +01:00
2023-04-17 18:01:18 +02:00
2023-06-19 13:59:34 +02:00
2023-02-13 17:50:35 +01:00
2023-08-21 14:54:48 +02:00
2023-08-21 14:54:48 +02:00
2023-08-24 16:20:18 -07:00
2023-12-20 17:02:03 +01:00
2023-06-19 13:59:37 +02:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:47 +01:00
2023-08-21 14:54:48 +02:00
2023-06-19 13:59:22 +02:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:40 +01:00
2024-01-01 12:42:24 +00:00
2024-01-01 12:42:24 +00:00
2023-08-21 14:54:48 +02:00
2023-08-21 14:52:12 +02:00
2022-12-05 18:00:59 +01:00
2023-12-08 08:52:20 +01:00
2023-07-13 10:28:04 +02:00
2023-11-28 17:19:35 +00:00
2023-06-19 13:59:36 +02:00
2023-11-28 17:19:35 +00:00
2022-12-05 18:00:44 +01:00
2023-11-20 11:59:39 +01:00
2023-04-17 18:01:24 +02:00
2023-12-08 08:52:20 +01:00
2022-12-05 18:00:41 +01:00
2023-08-21 14:52:19 +02:00
2023-04-17 18:01:18 +02:00
2023-06-19 13:59:35 +02:00
2023-06-19 13:59:35 +02:00
2023-12-08 08:52:20 +01:00
2022-12-05 18:00:47 +01:00
2023-08-21 14:52:12 +02:00
2023-02-13 17:50:35 +01:00
2024-01-01 12:42:24 +00:00
2024-01-01 12:42:24 +00:00
2023-08-12 13:28:55 -07:00
2023-06-19 13:59:25 +02:00
2023-11-28 17:19:35 +00:00
2023-06-19 13:59:26 +02:00
2023-06-19 13:59:38 +02:00
2022-12-05 18:00:48 +01:00
2022-12-05 18:00:50 +01:00
2022-12-05 18:00:50 +01:00
2023-11-28 17:19:35 +00:00
2022-12-05 18:00:46 +01:00
2023-09-13 18:40:54 +02:00
2022-12-05 18:00:47 +01:00
2023-12-08 08:52:20 +01:00
2023-08-21 14:54:48 +02:00
2023-11-28 17:19:35 +00:00
2023-06-19 13:59:34 +02:00
2023-08-22 14:19:59 +02:00
2023-08-21 14:52:19 +02:00
2023-06-19 13:59:34 +02:00