summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/journal_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-02-28 16:35:42 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:26 -0400
commitf0a3a2ccabc5ae1e2c7d588a6a4f77d216b1d4cf (patch)
treee73497e869282d970457a8cae86d792f7bde39d6 /fs/bcachefs/journal_types.h
parentb66fbf33425f30aacbbb95182c22d2df5b1d3b12 (diff)
downloadlinux-stable-f0a3a2ccabc5ae1e2c7d588a6a4f77d216b1d4cf.tar.gz
linux-stable-f0a3a2ccabc5ae1e2c7d588a6a4f77d216b1d4cf.tar.bz2
linux-stable-f0a3a2ccabc5ae1e2c7d588a6a4f77d216b1d4cf.zip
bcachefs: Journal seq now incremented at entry open, not close
This patch changes journal_entry_open() to initialize the new journal entry, not __journal_entry_close(). This also means that journal_cur_seq() refers to the sequence number of the last journal entry when we don't have an open journal entry, not the next one. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/journal_types.h')
0 files changed, 0 insertions, 0 deletions