diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-26 22:51:19 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-28 03:46:35 +0200 |
commit | 5612daafb76420c6793dc48ce6d0c20f36cc7981 (patch) | |
tree | 75c49d5114fce33b304499de964a165fc9baae04 /fs/bcachefs/fs-io-pagecache.h | |
parent | bcachefs: Move transaction commit path validation to as late as possible (diff) | |
download | linux-5612daafb76420c6793dc48ce6d0c20f36cc7981.tar.xz linux-5612daafb76420c6793dc48ce6d0c20f36cc7981.zip |
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/fs-io-pagecache.h')
0 files changed, 0 insertions, 0 deletions