diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-01 00:35:42 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:26 +0300 |
commit | f0a3a2ccabc5ae1e2c7d588a6a4f77d216b1d4cf (patch) | |
tree | e73497e869282d970457a8cae86d792f7bde39d6 /fs/exec.c | |
parent | b66fbf33425f30aacbbb95182c22d2df5b1d3b12 (diff) | |
download | linux-f0a3a2ccabc5ae1e2c7d588a6a4f77d216b1d4cf.tar.xz |
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/exec.c')
0 files changed, 0 insertions, 0 deletions