bcachefs: Fix error checking in bch2_fs_alloc()
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 28 May 2022 20:21:01 +0000 (16:21 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:33 +0000 (17:09 -0400)
One of the init calls had a ; instead of a ?:, and errors after that got
dropped - oops.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/super.c

index 159d47d129a24717dbcbdd7f90ba9040948734c3..8d02a81585201461b4c658254927b44466518403 100644 (file)
@@ -780,7 +780,7 @@ static struct bch_fs *bch2_fs_alloc(struct bch_sb *sb, struct bch_opts opts)
            bch2_fs_btree_key_cache_init(&c->btree_key_cache) ?:
            bch2_fs_btree_iter_init(c) ?:
            bch2_fs_btree_interior_update_init(c) ?:
-           bch2_fs_buckets_waiting_for_journal_init(c);
+           bch2_fs_buckets_waiting_for_journal_init(c) ?:
            bch2_fs_subvolumes_init(c) ?:
            bch2_fs_io_init(c) ?:
            bch2_fs_encryption_init(c) ?: