mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 03:38:10 -04:00
bcachefs: fix bch2_sb_field_resize()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
committed by
Kent Overstreet
parent
94cd106f8d
commit
24547d097a
@@ -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);
|
||||
if (f)
|
||||
f->type = cpu_to_le32(type);
|
||||
|
||||
Reference in New Issue
Block a user