diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-28 19:29:19 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:26 -0400 |
commit | 24a3d53b28398d2edd4dc717bede21eaf4a3b874 (patch) | |
tree | 9ba1e8bf729fb88bd3c4027f370422c8eb5b6f97 /lib/memory-notifier-error-inject.c | |
parent | 30ef633a0b46e06860f46bf7df0f5a313e6e1a19 (diff) |
bcachefs: __journal_entry_close() never fails
Previous patch just moved responsibility for incrementing the journal
sequence number and initializing the new journal entry from
__journal_entry_close() to journal_entry_open(); this patch makes the
analagous change for journal reservation state, incrementing the index
into array of journal_bufs at open time.
This means that __journal_entry_close() never fails to close an open
journal entry, which is important for the next patch that will change
our emergency shutdown behaviour.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions