bcachefs: Fix warning in bch2_fs_journal_stop()

j->last_empty_seq needs to match j->seq when the journal is empty

Reported-by: syzbot+4093905737cf289b6b38@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

+1 -1
+1 -1
fs/bcachefs/journal.c
··· 1260 1260 } 1261 1261 1262 1262 if (!had_entries) 1263 - j->last_empty_seq = cur_seq; 1263 + j->last_empty_seq = cur_seq - 1; /* to match j->seq */ 1264 1264 1265 1265 spin_lock(&j->lock); 1266 1266