Josef Bacik
e7ef158cdf
btrfs: remove BUG_ON(!eie) in find_parent_nodes
...
[ Upstream commit 9f05c09d6b ]
If we're looking for leafs that point to a data extent we want to record
the extent items that point at our bytenr. At this point we have the
reference and we know for a fact that this leaf should have a reference
to our bytenr. However if there's some sort of corruption we may not
find any references to our leaf, and thus could end up with eie == NULL.
Replace this BUG_ON() with an ASSERT() and then return -EUCLEAN for the
mortals.
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 >
2022-01-27 09:04:27 +01:00
..
2020-11-05 11:08:53 +01:00
2019-08-06 19:06:49 +02:00
2021-03-04 09:39:55 +01:00
2021-06-30 08:48:14 -04:00
2019-12-13 08:51:01 +01:00
2018-06-15 18:10:01 -03:00
2018-12-01 09:37:27 +01:00
2022-01-27 09:04:27 +01:00
2020-11-05 11:08:54 +01:00
2021-09-26 13:39:48 +02:00
2021-10-06 15:31:10 +02:00
2019-08-06 19:06:51 +02:00
2021-07-20 16:15:57 +02:00
2018-11-13 11:08:55 -08:00
2021-09-22 11:47:56 +02:00
2019-05-08 07:21:48 +02:00
2019-03-23 20:09:59 +01:00
2022-01-27 09:04:23 +01:00
2021-05-26 11:48:34 +02:00
2020-12-02 08:48:12 +01:00
2017-11-27 13:05:09 -08:00
2019-12-05 09:20:32 +01:00
2020-01-27 14:50:02 +01:00
2021-10-09 14:11:03 +02:00
2022-01-27 09:04:21 +01:00
2022-01-27 09:04:15 +01:00
2020-06-22 09:05:08 +02:00
2018-05-22 14:27:51 -04:00
2021-09-22 11:48:02 +02:00
2021-12-22 09:19:04 +01:00
2021-12-08 08:50:11 +01:00
2021-07-31 08:22:38 +02:00
2021-05-22 10:59:45 +02:00
2018-08-17 16:20:28 -07:00
2018-08-25 12:42:33 -07:00
2021-06-03 08:38:12 +02:00
2021-11-12 14:40:50 +01:00
2020-09-03 11:24:24 +02:00
2022-01-27 09:04:26 +01:00
2021-11-26 11:36:12 +01:00
2019-12-13 08:52:43 +01:00
2020-12-30 11:25:59 +01:00
2020-08-21 11:05:38 +02:00
2021-12-08 08:50:11 +01:00
2020-12-30 11:26:02 +01:00
2021-12-22 09:19:01 +01:00
2021-09-26 13:39:49 +02:00
2017-11-02 11:10:55 +01:00
2020-06-30 23:17:00 -04:00
2021-07-20 16:15:39 +02:00
2021-11-26 11:35:57 +01:00
2018-05-22 14:27:58 -04:00
2018-05-22 14:27:57 -04:00
2022-01-27 09:04:13 +01:00
2021-12-22 09:19:04 +01:00
2021-12-01 09:27:39 +01:00
2021-03-04 09:39:54 +01:00
2021-10-06 15:31:20 +02:00
2018-05-22 14:27:54 -04:00
2021-11-26 11:36:03 +01:00
2020-10-30 10:38:21 +01:00
2021-08-12 13:19:44 +02:00
2020-08-26 10:30:59 +02:00
2021-05-22 10:59:45 +02:00
2021-03-07 12:19:01 +01:00
2018-12-17 09:24:30 +01:00
2021-12-14 10:18:07 +01:00
2021-09-22 11:47:56 +02:00
2021-11-26 11:36:23 +01:00
2020-08-21 11:05:38 +02:00
2022-01-11 13:58:49 +01:00
2021-12-14 10:18:07 +01:00
2018-07-12 10:04:27 -04:00
2018-07-03 16:44:45 -04:00
2018-07-12 10:04:20 -04:00
2018-04-11 10:28:37 -07:00
2018-06-12 16:19:22 -07:00
2021-10-06 15:31:24 +02:00
2019-07-03 13:14:44 +02:00
2021-03-17 16:43:51 +01:00
2019-11-06 13:05:37 +01:00
2021-05-22 10:59:49 +02:00
2020-11-05 11:08:46 +01:00
2020-01-14 20:06:57 +01:00
2020-01-09 10:19:07 +01:00
2018-06-05 19:23:26 +02:00
2020-05-14 07:57:21 +02:00
2018-03-29 15:07:46 -04:00
2020-03-05 16:42:12 +01:00
2020-11-05 11:08:35 +01:00
2018-04-02 20:15:39 +02:00
2021-04-14 08:22:32 +02:00
2020-01-12 12:17:20 +01:00
2020-02-11 04:34:08 -08:00
2020-10-07 08:00:09 +02:00
2021-10-27 09:53:13 +02:00
2021-09-22 11:47:50 +02:00
2018-01-15 12:07:51 -08:00
2021-12-08 08:50:13 +01:00
2021-12-08 08:50:13 +01:00
2020-04-17 10:48:51 +02:00
2017-11-07 10:32:44 +01:00
2021-07-20 16:15:52 +02:00
2020-03-25 08:06:14 +01:00
2019-05-31 06:46:05 -07:00
2018-11-21 09:19:14 +01:00
2021-05-22 10:59:50 +02:00
2018-06-11 08:22:34 -07:00
2018-08-02 08:06:55 +09:00
2020-11-24 13:27:23 +01:00
2020-01-09 10:19:00 +01:00
2018-06-11 08:22:34 -07:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2018-08-17 16:20:29 -07:00
2020-03-05 16:42:20 +01:00
2021-08-26 08:36:49 -04:00
2019-05-25 18:23:26 +02:00
2020-03-18 07:14:21 +01:00
2021-08-12 13:19:43 +02:00
2020-05-02 17:26:01 +02:00
2018-01-02 19:27:28 -08:00
2018-02-11 14:34:03 -08:00
2019-12-01 09:17:04 +01:00
2021-04-28 13:16:50 +02:00
2021-03-24 11:07:37 +01:00
2021-07-20 16:16:16 +02:00
2021-12-14 10:18:07 +01:00
2019-12-17 20:35:43 +01:00
2018-04-02 20:15:34 +02:00
2019-10-11 18:21:39 +02:00
2020-11-24 13:27:20 +01:00
2018-04-04 12:44:02 -07:00
2018-08-13 20:56:23 -07:00
2021-09-22 11:48:02 +02:00
2018-04-02 20:15:44 +02:00
2020-08-11 15:32:34 +02:00