diff options
Diffstat (limited to 'libbcachefs/super.c')
-rw-r--r-- | libbcachefs/super.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbcachefs/super.c b/libbcachefs/super.c index 9f1047a7..eee56969 100644 --- a/libbcachefs/super.c +++ b/libbcachefs/super.c @@ -885,7 +885,7 @@ static void print_mount_opts(struct bch_fs *c) struct printbuf p = PRINTBUF; bool first = true; - prt_str(&p, "mounted version "); + prt_str(&p, "mounting version "); bch2_version_to_text(&p, c->sb.version); if (c->opts.read_only) { @@ -921,6 +921,8 @@ int bch2_fs_start(struct bch_fs *c) unsigned i; int ret; + print_mount_opts(c); + down_write(&c->state_lock); BUG_ON(test_bit(BCH_FS_STARTED, &c->flags)); @@ -974,7 +976,6 @@ int bch2_fs_start(struct bch_fs *c) goto err; } - print_mount_opts(c); ret = 0; out: up_write(&c->state_lock); |