]> www.infradead.org Git - users/willy/xarray.git/commit
bcachefs: Fix early init error path in journal code
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 17 Jun 2024 13:36:34 +0000 (09:36 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 19 Jun 2024 22:27:24 +0000 (18:27 -0400)
commitdbf4d79b7fc7e9bf5d1546f6dfffd789ea061221
tree9f543f8ee318e05700f4f2f12975d1c1ac04f5a9
parent9e7cfb35e2668e542c333ed3ec4b0a951dd332ee
bcachefs: Fix early init error path in journal code

We shouln't be running the journal shutdown sequence if we never fully
initialized the journal.

Reported-by: syzbot+ffd2270f0bca3322ee00@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal.c