diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-12-28 23:17:07 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:48 +0300 |
commit | 2cc9c0db89f7b6e3c3218ddaa7964055af8d95af (patch) | |
tree | 23f8779e2fb1b7a123fd81d534bf98e9ceae3756 /fs/bcachefs/btree_iter.c | |
parent | 84464e57529b45e235c24bc7db24b60ffba7f540 (diff) | |
download | linux-2cc9c0db89f7b6e3c3218ddaa7964055af8d95af.tar.xz |
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_iter.c')
0 files changed, 0 insertions, 0 deletions