diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-11 01:37:34 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:12 -0400 |
commit | e46c181af9e230c4c5dbc701fdadc295d6191eec (patch) | |
tree | edf21c015994feaf4b0c07973b5d721333f3c3db /fs/bcachefs/rebalance.c | |
parent | da187cacb8a59e668ce716214865612ae3921e91 (diff) | |
download | linux-e46c181af9e230c4c5dbc701fdadc295d6191eec.tar.gz linux-e46c181af9e230c4c5dbc701fdadc295d6191eec.tar.bz2 linux-e46c181af9e230c4c5dbc701fdadc295d6191eec.zip |
bcachefs: Convert more code to bch_err_msg()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/rebalance.c')
-rw-r--r-- | fs/bcachefs/rebalance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/rebalance.c b/fs/bcachefs/rebalance.c index 15ce3ecba0ba..016cf0834b3d 100644 --- a/fs/bcachefs/rebalance.c +++ b/fs/bcachefs/rebalance.c @@ -350,7 +350,7 @@ int bch2_rebalance_start(struct bch_fs *c) p = kthread_create(bch2_rebalance_thread, c, "bch-rebalance/%s", c->name); ret = PTR_ERR_OR_ZERO(p); if (ret) { - bch_err(c, "error creating rebalance thread: %s", bch2_err_str(ret)); + bch_err_msg(c, ret, "creating rebalance thread"); return ret; } |