bcachefs: Repair subvol dirents that point to non subvols
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 21 Jan 2024 19:57:58 +0000 (14:57 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:24 +0000 (21:22 -0400)
commit45b4ed525e3c5b5dcdee65ae23a27b9efe595714
tree2cc92a062e505d4ada79d12e99c4480aaef2974b
parentc60b7f803c8b7dbea75b3cbfd23d788bab7215a6
bcachefs: Repair subvol dirents that point to non subvols

when repair switches d_type to or from DT_SUBVOL, we need to update the
target accordingly

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