diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-13 03:11:16 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:07 -0400 |
commit | 43b81a4eaca01ef13293d139670981cc4da18d3c (patch) | |
tree | 8a7d80bd8dbf09af16efda6b0ce234b2ec57650c /fs/bcachefs/errcode.h | |
parent | f9f52bc4f0342ddc68690ebdc581eedfbd4a9c6b (diff) | |
download | linux-43b81a4eaca01ef13293d139670981cc4da18d3c.tar.gz linux-43b81a4eaca01ef13293d139670981cc4da18d3c.tar.bz2 linux-43b81a4eaca01ef13293d139670981cc4da18d3c.zip |
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 <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/errcode.h')
-rw-r--r-- | fs/bcachefs/errcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) \ |