]> Git Repo - linux.git/commitdiff
bcachefs: Add error messages to logged ops fns
authorKent Overstreet <[email protected]>
Sat, 23 Mar 2024 23:30:58 +0000 (19:30 -0400)
committerKent Overstreet <[email protected]>
Mon, 1 Apr 2024 00:36:11 +0000 (20:36 -0400)
Signed-off-by: Kent Overstreet <[email protected]>
fs/bcachefs/io_misc.c

index 1baf78594ccaf85d7d89fea4fc938a7f700d6dc0..82f9170dab3fdcdbd422a9d9ced80db803fe6af4 100644 (file)
@@ -264,6 +264,7 @@ static int __bch2_resume_logged_op_truncate(struct btree_trans *trans,
                ret = 0;
 err:
        bch2_logged_op_finish(trans, op_k);
+       bch_err_fn(c, ret);
        return ret;
 }
 
@@ -476,6 +477,7 @@ case LOGGED_OP_FINSERT_finish:
        break;
        }
 err:
+       bch_err_fn(c, ret);
        bch2_logged_op_finish(trans, op_k);
        bch2_trans_iter_exit(trans, &iter);
        return ret;
This page took 0.047886 seconds and 4 git commands to generate.