bcachefs: Fix check_path() across subvolumes
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 19 Oct 2021 05:08:05 +0000 (01:08 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:14 +0000 (17:09 -0400)
commit488f97764a9adb68d2ebec0a6e5b96f0f0a7bf38
tree3140e80f31b92ad6567424abb262b895c6528507
parentca130b9c5e120994483a34c72526dcd4bf308d84
bcachefs: Fix check_path() across subvolumes

Checking of directory structure across subvolumes was broken - we need
to look up the snapshot ID of the parent subvolume when crossing subvol
boundaries.

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