bcachefs: Fix errors early in the fs init process
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 15 Oct 2020 19:58:36 +0000 (15:58 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:44 +0000 (17:08 -0400)
commit505b7a4c2844d8ee0004ab905874513776bc14da
treee26a5e48aa516db77e4ff911f610c2a5f682f955
parent922ae9f45585500398e9a88b50d5d29a2fc721e8
bcachefs: Fix errors early in the fs init process

At some point bch2_fs_alloc() was changed to always call bch2_fs_free()
in the error path, which means we need c->cl to always be initialized.

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