bcachefs: reconstruct_inode()
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Apr 2024 04:00:56 +0000 (00:00 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 3 Apr 2024 18:46:51 +0000 (14:46 -0400)
commit09d4c2acbf4c864fef0f520bbcba256c9a19102e
treededd84ce2d04458e28557284b55927099a7d3499
parentcc0532900bcf1896a81dcdd30873ffa6c4f6926b
bcachefs: reconstruct_inode()

If an inode is missing, but corresponding extents and dirent still
exist, it's well worth recreating it - this does so.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fsck.c