Commit f3b8403e authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Run bch2_fs_counters_init() earlier



We need counters to be initialized before initializing shrinkers - the
shrinker callbacks will update those counters. This fixes a segfault in
userspace.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent d704d623
Supports Markdown
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