diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-11 08:37:34 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:12 +0300 |
commit | e46c181af9e230c4c5dbc701fdadc295d6191eec (patch) | |
tree | edf21c015994feaf4b0c07973b5d721333f3c3db /fs/bcachefs/alloc_background.c | |
parent | da187cacb8a59e668ce716214865612ae3921e91 (diff) | |
download | linux-e46c181af9e230c4c5dbc701fdadc295d6191eec.tar.xz |
bcachefs: Convert more code to bch_err_msg()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_background.c')
-rw-r--r-- | fs/bcachefs/alloc_background.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_background.c b/fs/bcachefs/alloc_background.c index e36426b52a4a..fcb3d53bb6f3 100644 --- a/fs/bcachefs/alloc_background.c +++ b/fs/bcachefs/alloc_background.c @@ -1931,7 +1931,7 @@ bkey_err: bch2_trans_exit(&trans); if (ret < 0) { - bch_err(ca, "error initializing free space: %s", bch2_err_str(ret)); + bch_err_msg(ca, ret, "initializing free space"); return ret; } |