diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-17 20:30:18 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-20 19:41:38 -0400 |
commit | 4c0d2c67ac6d54ba71bb3438147b144c25fdee2c (patch) | |
tree | 033c7872f362011c1fc04f36978d0fd8a8e42324 /tools/perf/scripts/python | |
parent | 9c32cda43eb78f78c73aee4aa344b777714e259b (diff) |
bcachefs: Fix early startup error path
Don't set JOURNAL_running until we're also calling
journal_space_available() for the first time.
If JOURNAL_running is set, shutdown will write an empty journal entry -
but this will hit an assert in journal_entry_open() if we've never
called journal_space_available().
Reported-by: syzbot+53bb24d476ef8368a7f0@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions