From 43b81a4eaca01ef13293d139670981cc4da18d3c Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 13 Jul 2023 03:11:16 -0400 Subject: bcachefs: overlapping_extents_found() This improves the repair path for overlapping extents - we now verify that we find in the btree the overlapping extents that the algorithm detected, and fail the fsck run with a more useful error if it doesn't match. Signed-off-by: Kent Overstreet --- fs/bcachefs/errcode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/bcachefs/errcode.h') diff --git a/fs/bcachefs/errcode.h b/fs/bcachefs/errcode.h index d5277ec7372f..a759493fee44 100644 --- a/fs/bcachefs/errcode.h +++ b/fs/bcachefs/errcode.h @@ -171,6 +171,7 @@ x(EINVAL, device_already_online) \ x(EINVAL, insufficient_devices_to_start) \ x(EINVAL, invalid) \ + x(EINVAL, internal_fsck_err) \ x(EROFS, erofs_trans_commit) \ x(EROFS, erofs_no_writes) \ x(EROFS, erofs_journal_err) \ -- cgit v1.2.3-70-g09d2