bcachefs: Simplify journal read path
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 2 Dec 2022 02:59:25 +0000 (21:59 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:47 +0000 (17:09 -0400)
commit230fa1c735496a2f89eb8bcc1471a46f0d917975
treeb7f6f70aaf27932ed520fa295b0e87029cab7d1b
parentb9004e8576b1c2803ee7d7b3f28fbcc779f05ffb
bcachefs: Simplify journal read path

This just cleans up and simplifies the code that decides where to resume
writing in the journal - when the code was originally written we weren't
saving the precise location of every journal write found.

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