summaryrefslogtreecommitdiff
path: root/fs/bcachefs/sb-downgrade.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-09-26 23:51:19 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-09-28 04:46:35 +0300
commit5612daafb76420c6793dc48ce6d0c20f36cc7981 (patch)
tree75c49d5114fce33b304499de964a165fc9baae04 /fs/bcachefs/sb-downgrade.h
parent7c980a43e936e32741a62bf5a047c5f5ad572ec8 (diff)
downloadlinux-5612daafb76420c6793dc48ce6d0c20f36cc7981.tar.xz
bcachefs: Fix fsck warnings from bkey validation
__bch2_fsck_err() warns if the current task has a btree_trans object and it wasn't passed in, because if it has to prompt for user input it has to be able to unlock it. But plumbing the btree_trans through bkey_validate(), as well as transaction restarts, is problematic - so instead make bkey fsck errors FSCK_AUTOFIX, which doesn't need to warn. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/sb-downgrade.h')
0 files changed, 0 insertions, 0 deletions