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/fs.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/fs.c')
-rw-r--r-- | fs/bcachefs/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index 48431700b83e..08f810992a1b 100644 --- a/fs/bcachefs/fs.c +++ b/fs/bcachefs/fs.c @@ -1890,7 +1890,7 @@ got_sb: vinode = bch2_vfs_inode_get(c, BCACHEFS_ROOT_SUBVOL_INUM); ret = PTR_ERR_OR_ZERO(vinode); if (ret) { - bch_err(c, "error mounting: error getting root inode: %s", bch2_err_str(ret)); + bch_err_msg(c, ret, "mounting: error getting root inode"); goto err_put_super; } |