aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2025-03-20 15:06:50 +0000
committerKent Overstreet <[email protected]>2025-03-24 13:50:36 +0000
commit9b0d00a3693bbab49dcec00dd981c8661d6011bf (patch)
tree678809edc45dd58efc19346e3fca0b8895d00c56 /fs/bcachefs/btree_trans_commit.c
parentbcachefs: Move bch2_check_dirent_target() to namei.c (diff)
downloadkernel-9b0d00a3693bbab49dcec00dd981c8661d6011bf.tar.gz
kernel-9b0d00a3693bbab49dcec00dd981c8661d6011bf.zip
bcachefs: Refactor bch2_check_dirent_target()
Prep work for calling bch2_check_dirent_target() from bch2_lookup(). - Add an inline wrapper, if the target and backpointer match we can skip the function call. - We don't (yet?) want to remove the dirent we did the lookup from (when we find a directory or subvol with multiple valid dirents pointing to it), we can defer on that until later. For now, add an "are we in fsck?" parameter. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions