]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bcachefs: Check for extents that point to same space
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 30 Mar 2024 22:43:00 +0000 (18:43 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 3 Apr 2024 18:46:51 +0000 (14:46 -0400)
commit4c02e63dadc7f5a92732ce3e267d0511749f60fb
treef506a069b2d9e7b8ef2b99714da1deb394bb075b
parenta292be3b68f3fdad6cff50c716174f51b119efd1
bcachefs: Check for extents that point to same space

In backpointer repair, if we get a missing backpointer - but there's
already a backpointer that points to an existing extent - we've got
multiple extents that point to the same space and need to decide which
to keep.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/backpointers.c
fs/bcachefs/sb-errors_types.h