diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-02-17 13:37:22 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:53 -0400 |
commit | 0507962f634bc3bada77bce9f3cd839e48aa5fb0 (patch) | |
tree | 1392f9e5eeb3cbccf6eab568d0788d8851e009cb /fs/bcachefs/extents.h | |
parent | 0ef837a0cc87d49d9f7d29bdef5a57f07ecc84d3 (diff) | |
download | lwn-0507962f634bc3bada77bce9f3cd839e48aa5fb0.tar.gz lwn-0507962f634bc3bada77bce9f3cd839e48aa5fb0.zip |
bcachefs: Drop invalid stripe ptrs in fsck
More repair code, now that we can repair extents during initial gc.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/extents.h')
-rw-r--r-- | fs/bcachefs/extents.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/extents.h b/fs/bcachefs/extents.h index ebe0a04c7850..3988315fc404 100644 --- a/fs/bcachefs/extents.h +++ b/fs/bcachefs/extents.h @@ -546,6 +546,7 @@ unsigned bch2_bkey_durability(struct bch_fs *, struct bkey_s_c); void bch2_bkey_mark_replicas_cached(struct bch_fs *, struct bkey_s, unsigned, unsigned); +void bch2_bkey_extent_entry_drop(struct bkey_i *, union bch_extent_entry *); void bch2_bkey_append_ptr(struct bkey_i *, struct bch_extent_ptr); void bch2_extent_ptr_decoded_append(struct bkey_i *, struct extent_ptr_decoded *); |