Commit 2cc9c0db authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix some memcpy() warnings



With CONFIG_FORTIFY_SOURCE, the compiler attempts to warn about mempcys
that extend past struct field boundaries. This results in some spurious
warnings where we use embedded variable length structs, this patch
switches to unsafe_mecpy() to fix the warnings.

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