Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 44ec5990 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Don't use the new_fs() bucket alloc path on an initialized fs


On a new filesystem or device we have to allocate the journal with a
bump allocator, because allocation info isn't ready yet - but when
hot-adding a device that doesn't have a journal, we don't want to use
that path.

Reported-by: default avatar <syzbot+24a867cb90d8315cccff@syzkaller.appspotmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a0bd30e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment