summaryrefslogtreecommitdiff
path: root/libbcachefs/error.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-07-08 15:26:03 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-07-08 15:26:30 -0400
commit4e973f190c90351fa0e56d0523877d8fe6a646bd (patch)
treea5f94efdff4f5d5c3a3a3559cf1bbeae66ad8560 /libbcachefs/error.c
parent25c580652a8a7ed83f71e6762eaea8dba06f538b (diff)
Update bcachefs sources to 6fc0b31163ea workqueue: Basic memory allocation profiling support
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/error.c')
-rw-r--r--libbcachefs/error.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbcachefs/error.c b/libbcachefs/error.c
index 71649b41..c7ee81b7 100644
--- a/libbcachefs/error.c
+++ b/libbcachefs/error.c
@@ -637,7 +637,9 @@ err:
* log_fsck_err()s: that would require us to track for every error type
* which recovery pass corrects it, to get the fsck exit status correct:
*/
- if (bch2_err_matches(ret, BCH_ERR_fsck_fix)) {
+ if (bch2_err_matches(ret, BCH_ERR_transaction_restart)) {
+ /* nothing */
+ } else if (bch2_err_matches(ret, BCH_ERR_fsck_fix)) {
set_bit(BCH_FS_errors_fixed, &c->flags);
} else {
set_bit(BCH_FS_errors_not_fixed, &c->flags);