diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-24 05:39:45 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 19:47:42 +0300 |
commit | e34ec13a56a02695458f6296daa9239c70b4cd29 (patch) | |
tree | 94712f37b07736cb11c508bce21d99a8a12975d9 /fs/bcachefs/super.c | |
parent | 53b67d8dcf47a9d9fef856484a57c7f0b30873fb (diff) | |
download | linux-e34ec13a56a02695458f6296daa9239c70b4cd29.tar.xz |
bcachefs: add more verbose logging
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super.c')
-rw-r--r-- | fs/bcachefs/super.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index 5cc09b4b50af..45355b33933e 100644 --- a/fs/bcachefs/super.c +++ b/fs/bcachefs/super.c @@ -1057,12 +1057,13 @@ int bch2_fs_start(struct bch_fs *c) } ret = 0; -out: +err: + if (ret) + bch_err_msg(c, ret, "starting filesystem"); + else + bch_verbose(c, "done starting filesystem"); up_write(&c->state_lock); return ret; -err: - bch_err_msg(c, ret, "starting filesystem"); - goto out; } static int bch2_dev_may_add(struct bch_sb *sb, struct bch_fs *c) |