Josef Bacik
8f9488fe41
btrfs: replace BUG_ON with ASSERT in walk_down_proc()
...
[ Upstream commit 1f9d44c0a12730a24f8bb75c5e1102207413cc9b ]
We have a couple of areas where we check to make sure the tree block is
locked before looking up or messing with references. This is old code
so it has this as BUG_ON(). Convert this to ASSERT() for developers.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 2df0e48615f438cdf93f1469ed9f289f71440d2d)
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
2024-10-30 14:08:24 +00:00
..
2024-06-03 12:29:52 +00:00
2023-02-06 07:46:28 +01:00
2023-08-11 11:33:32 +02:00
2023-09-23 10:47:03 +02:00
2024-10-30 14:08:24 +00:00
2024-03-26 11:04:59 +00:00
2024-05-06 14:36:36 +00:00
2024-05-06 14:36:34 +00:00
2022-03-02 11:33:56 +01:00
2021-07-20 16:17:45 +02:00
2024-05-06 14:36:39 +00:00
2024-07-08 08:14:33 +00:00
2020-12-02 08:34:44 +01:00
2019-12-05 15:37:28 +01:00
2020-01-27 14:46:06 +01:00
2023-09-23 10:47:04 +02:00
2024-10-24 10:07:39 +00:00
2024-10-24 10:07:38 +00:00
2024-05-30 08:58:49 +00:00
2024-10-30 14:08:21 +00:00
2024-10-24 10:07:37 +00:00
2024-10-10 10:27:23 +00:00
2024-08-24 08:37:06 +00:00
2021-06-03 08:36:25 +02:00
2024-05-30 09:00:44 +00:00
2024-10-10 10:27:28 +00:00
2024-08-23 16:43:23 +00:00
2024-10-10 10:27:25 +00:00
2022-11-03 23:50:53 +09:00
2023-09-23 10:46:57 +02:00
2020-08-21 09:48:15 +02:00
2024-10-24 10:07:38 +00:00
2020-12-29 13:47:01 +01:00
2024-07-08 08:14:40 +00:00
2024-10-30 14:08:22 +00:00
2023-09-23 10:46:53 +02:00
2022-06-14 16:53:48 +02:00
2022-11-25 17:36:55 +01:00
2024-08-24 08:37:07 +00:00
2023-08-11 11:33:32 +02:00
2024-08-23 16:43:23 +00:00
2023-10-25 11:13:32 +02:00
2024-08-08 15:52:16 +00:00
2024-03-08 08:21:30 +00:00
2021-10-06 15:05:08 +02:00
2024-10-24 10:07:37 +00:00
2020-10-29 09:07:11 +01:00
2023-09-23 10:46:54 +02:00
2020-08-26 10:29:54 +02:00
2023-02-22 12:46:05 +01:00
2024-05-31 12:30:40 +00:00
2024-05-30 09:00:44 +00:00
2022-09-20 11:51:31 +02:00
2024-05-30 08:58:49 +00:00
2024-10-30 14:08:21 +00:00
2020-08-21 09:48:22 +02:00
2023-08-11 11:33:32 +02:00
2024-05-30 09:00:41 +00:00
2023-09-23 10:47:05 +02:00
2024-10-24 10:07:37 +00:00
2020-06-03 08:18:03 +02:00
2022-06-14 16:53:43 +02:00
2024-10-24 10:07:37 +00:00
2019-11-06 12:42:59 +01:00
2024-01-08 11:25:05 +01:00
2022-11-25 17:36:55 +01:00
2023-01-18 09:26:24 +01:00
2024-03-08 08:21:39 +00:00
2020-05-20 08:16:58 +02:00
2020-03-11 18:02:43 +01:00
2024-08-24 08:37:06 +00:00
2021-04-16 11:57:48 +02:00
2020-01-12 12:11:59 +01:00
2020-10-14 09:51:09 +02:00
2024-10-10 10:27:56 +00:00
2024-04-16 10:30:27 +00:00
2021-12-08 08:46:55 +01:00
2024-10-10 10:27:27 +00:00
2020-04-24 08:00:43 +02:00
2023-05-17 11:11:48 +02:00
2022-10-26 13:16:51 +02:00
2019-12-17 20:38:57 +01:00
2023-01-18 09:26:10 +01:00
2024-10-24 10:07:40 +00:00
2023-09-23 10:46:54 +02:00
2022-05-15 19:40:27 +02:00
2024-08-08 15:52:22 +00:00
2021-08-15 13:03:31 +02:00
2023-01-18 09:26:35 +01:00
2019-12-01 09:13:51 +01:00
2021-04-28 12:08:41 +02:00
2024-04-16 10:30:27 +00:00
2021-07-20 16:17:55 +02:00
2021-12-14 10:16:55 +01:00
2022-10-26 13:16:56 +02:00
2022-04-27 13:15:30 +02:00
2023-05-30 12:38:36 +01:00
2022-02-23 11:57:33 +01:00
2020-01-04 13:59:58 +01:00
2023-01-18 09:26:09 +01:00