bcachefs: Move bch2_check_dirent_target() to namei.c

We're gradually running more and more fsck.c checks at runtime,
whereever applicable; when we do so they get moved out of fsck.c.

Next patch will call bch2_check_dirent_target() from bch2_lookup().

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2025-03-20 11:06:50 -04:00
commit 758ea4ff81
5 changed files with 236 additions and 224 deletions