diff options
| author | Kent Overstreet <[email protected]> | 2023-02-20 14:34:38 -0500 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:54 -0400 |
| commit | 93bd2f877f221f05a1b51dcfac09d196c8bcda5c (patch) | |
| tree | dfa8433d8bc80003b0036f11d8e081d3597324a4 | |
| parent | 9f6db1276c0c80b017f9278d6f081f20cecbeb33 (diff) | |
bcachefs: Improve a verbose log message
We should be using bch2_err_str() where applicable.
Signed-off-by: Kent Overstreet <[email protected]>
| -rw-r--r-- | fs/bcachefs/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index b030d0bb26e7..cc27f19960f1 100644 --- a/fs/bcachefs/super.c +++ b/fs/bcachefs/super.c @@ -1920,7 +1920,8 @@ out: kfree(sb); printbuf_exit(&errbuf); module_put(THIS_MODULE); - pr_verbose_init(opts, "ret %i", PTR_ERR_OR_ZERO(c)); + pr_verbose_init(opts, "ret %s (%i)", bch2_err_str(PTR_ERR_OR_ZERO(c)), + PTR_ERR_OR_ZERO(c)); return c; err_print: pr_err("bch_fs_open err opening %s: %s", |