Commit 24547d09 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: fix bch2_sb_field_resize()

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 94cd106f
...@@ -188,6 +188,7 @@ struct bch_sb_field *bch2_sb_field_resize(struct bch_sb_handle *sb, ...@@ -188,6 +188,7 @@ struct bch_sb_field *bch2_sb_field_resize(struct bch_sb_handle *sb,
} }
} }
f = bch2_sb_field_get(sb->sb, type);
f = __bch2_sb_field_resize(sb, f, u64s); f = __bch2_sb_field_resize(sb, f, u64s);
if (f) if (f)
f->type = cpu_to_le32(type); f->type = cpu_to_le32(type);
......
Markdown is supported
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