bcachefs: Fix a faulty assertion
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 22 Jan 2021 00:15:49 +0000 (19:15 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:51 +0000 (17:08 -0400)
commitfdbb88ac019462efcdcf83927e004e74088831f4
tree172688e4f56f89c9fad633873f402b0f27bf6282
parente46b85573434b4e0c9f8eee4ac21d90643a97454
bcachefs: Fix a faulty assertion

If journal replay hasn't finished, the journal can't be empty - oops.

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