diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-05-07 23:48:50 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-05-14 14:58:07 -0400 |
commit | bf145974607928c32c14d27c5c57e1220cad195d (patch) | |
tree | 7016db61efb29e8b1d0ab321552d13bd713cd29d /libbcachefs/journal.c | |
parent | 7942d5cab4f02bd4db12ee26a792a6012b4d7b07 (diff) |
Update bcachefs sources to b6d5426551 bcachefs: Fix bch2_btree_iter_peek_with_updates()
Diffstat (limited to 'libbcachefs/journal.c')
-rw-r--r-- | libbcachefs/journal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbcachefs/journal.c b/libbcachefs/journal.c index c277312..1400774 100644 --- a/libbcachefs/journal.c +++ b/libbcachefs/journal.c @@ -190,7 +190,8 @@ static bool __journal_entry_close(struct journal *j) * Hence, we want update/set last_seq on the current journal entry right * before we open a new one: */ - buf->data->last_seq = cpu_to_le64(journal_last_seq(j)); + buf->last_seq = journal_last_seq(j); + buf->data->last_seq = cpu_to_le64(buf->last_seq); __bch2_journal_pin_put(j, le64_to_cpu(buf->data->seq)); |