diff options
| author | Kent Overstreet <[email protected]> | 2024-09-26 20:51:19 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-09-28 01:46:35 +0000 |
| commit | 5612daafb76420c6793dc48ce6d0c20f36cc7981 (patch) | |
| tree | 75c49d5114fce33b304499de964a165fc9baae04 /fs/bcachefs/btree_trans_commit.c | |
| parent | bcachefs: Move transaction commit path validation to as late as possible (diff) | |
| download | kernel-5612daafb76420c6793dc48ce6d0c20f36cc7981.tar.gz kernel-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 <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions
