bcachefs: Improve reflink repair code

When a reflink pointer points to an indirect extent that doesn't exist,
we need to replace it with a KEY_TYPE_error key.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet 2021-10-19 12:27:47 -04:00 • committed by Kent Overstreet
commit dfc276df91
2 changed files with 43 additions and 10 deletions