bcachefs: Fix __remove_dirent()
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 4 Nov 2021 01:22:46 +0000 (21:22 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:16 +0000 (17:09 -0400)
commitc27314b448d3ef1aa44a82d77ff1e1eec0c5a682
tree61647cf135da80dec3fef6bcf8857060acade0a5
parent47f80bbf38df59e41c98fd1f9681cf63af82a5fd
bcachefs: Fix __remove_dirent()

__lookup_inode() doesn't work for what __remove_dirent() wants - it just
wants the first inode at a given inode number, they all have the same
hash info.

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