bcachefs: Fix fsck to not use bch2_link_trans()
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 9 Apr 2021 07:25:37 +0000 (03:25 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:00 +0000 (17:09 -0400)
commit176cf4bf59014d03be6cef33cabb677d2117dbb2
tree0c2c7a2dba2f37435f8ea34c03bb779d79bfd2a9
parentb69ac13cb39176634f1dd924dfabe2e282615d41
bcachefs: Fix fsck to not use bch2_link_trans()

bch2_link_trans() uses the btree key cache for inode updates, and fsck
isn't supposed to - also, it's not really what we want for reattaching
unreachable inodes anyways.

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