Skip to content
Commit 5c1ab40e authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix kasan splat in members_v1_get()



This fixes an incorrect memcpy() in the recent members_v2 code - a
members_v1 member is BCH_MEMBER_V1_BYTES, not sizeof(struct bch_member).

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent fb3f57bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment