Yingjie Gao
c3e0738943
xfs: fix rtgroup cleanup in CoW fork repair
...
xrep_cow_find_bad_rt() initializes scrub rtgroup state before the
force-rebuild path calls xrep_cow_mark_file_range(). If that call
fails, the code jumps directly to out_rtg, which skips the scrub
rtgroup cleanup and only drops the local rtgroup reference.
Remove the unnecessary jump so the function falls through to out_sr,
ensuring the realtime cursors, lock state, and sr->rtg reference are
released before returning.
Fixes: fd97fe1112 ("xfs: fix CoW forks for realtime files")
Cc: <stable@vger.kernel.org > # v6.14
Signed-off-by: Yingjie Gao <gaoyingjie@uniontech.com >
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org >
Signed-off-by: Carlos Maiolino <cem@kernel.org >
2026-05-30 08:26:18 +02:00
..
2026-01-21 12:57:16 +01:00
2024-02-22 12:43:37 -08:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2024-04-15 14:58:58 -07:00
2026-02-21 01:02:28 -08:00
2026-01-21 12:57:16 +01:00
2026-02-21 01:02:28 -08:00
2024-04-23 16:55:15 -07:00
2026-02-21 01:02:28 -08:00
2024-04-15 14:58:53 -07:00
2026-02-21 01:02:28 -08:00
2024-02-22 12:43:37 -08:00
2026-02-21 01:02:28 -08:00
2026-01-21 12:57:16 +01:00
2026-02-21 01:02:28 -08:00
2023-05-26 13:52:19 -07:00
2026-04-27 10:36:36 +02:00
2026-04-27 10:36:36 +02:00
2026-05-30 08:26:18 +02:00
2024-04-15 14:58:54 -07:00
2026-04-27 10:36:36 +02:00
2024-04-15 14:58:54 -07:00
2026-02-25 13:58:48 +01:00
2026-04-27 10:36:36 +02:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2024-11-05 13:38:33 -08:00
2026-01-21 12:57:16 +01:00
2026-01-21 12:57:16 +01:00
2024-04-23 16:55:13 -07:00
2023-12-15 10:03:38 -08:00
2026-01-21 12:57:16 +01:00
2026-02-21 01:02:28 -08:00
2024-04-22 18:00:48 +05:30
2026-01-21 12:57:16 +01:00
2024-02-22 12:39:48 -08:00
2026-02-21 01:02:28 -08:00
2026-01-21 12:57:16 +01:00
2024-04-23 16:55:16 -07:00
2026-02-21 01:02:28 -08:00
2026-01-21 12:57:16 +01:00
2026-01-21 12:57:16 +01:00
2024-04-15 14:58:56 -07:00
2026-01-21 12:57:16 +01:00
2024-04-23 16:55:15 -07:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2024-12-23 13:06:08 -08:00
2026-01-21 12:57:16 +01:00
2026-02-21 01:02:28 -08:00
2024-04-15 14:58:57 -07:00
2023-12-15 10:03:40 -08:00
2026-02-25 13:58:48 +01:00
2024-04-23 16:55:17 -07:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2026-01-21 12:57:16 +01:00
2026-03-18 09:44:46 +01:00
2023-12-15 10:03:45 -08:00
2026-01-21 12:57:16 +01:00
2026-02-21 01:02:28 -08:00
2024-02-22 12:30:57 -08:00
2026-01-21 12:57:16 +01:00
2024-02-22 12:43:41 -08:00
2026-02-21 01:02:28 -08:00
2024-02-22 12:43:41 -08:00
2026-01-21 12:57:16 +01:00
2024-04-23 07:47:02 -07:00
2026-01-21 12:57:16 +01:00
2024-12-23 13:06:17 -08:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2026-01-24 08:46:38 -08:00
2025-09-05 08:48:23 -07:00
2024-12-23 13:06:16 -08:00
2026-01-21 12:57:16 +01:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2024-12-23 13:06:17 -08:00
2026-01-23 09:27:37 -08:00
2026-02-21 01:02:28 -08:00
2024-12-23 13:06:08 -08:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2026-01-21 12:57:16 +01:00
2026-01-21 12:57:16 +01:00
2026-02-21 01:02:28 -08:00
2024-09-01 08:58:19 -07:00
2026-02-21 01:02:28 -08:00
2025-01-13 14:57:08 +01:00
2026-02-21 17:09:51 -08:00
2023-08-10 07:48:07 -07:00
2026-01-21 12:57:16 +01:00
2026-01-21 12:57:16 +01:00
2024-12-23 13:06:08 -08:00
2026-01-21 12:57:16 +01:00
2024-11-05 13:38:34 -08:00
2026-01-21 12:57:16 +01:00
2026-03-26 14:25:23 +01:00
2026-01-21 12:57:16 +01:00
2024-04-23 16:55:17 -07:00
2026-02-21 01:02:28 -08:00
2024-04-15 14:58:55 -07:00
2026-02-21 01:02:28 -08:00
2024-04-15 14:58:53 -07:00
2024-04-23 16:55:18 -07:00