bcachefs: Switch to unsafe_memcpy() in a few places
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 6 Oct 2023 17:47:31 +0000 (13:47 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:16 +0000 (17:10 -0400)
commit88d39fd544d44e1243668eb192ff1cc5cdc2d770
tree4dedce1097cff7f9a5ca0b9534ec5c7b86d43d65
parentc2d81c24123361e5092c88e67d790097308c5b95
bcachefs: Switch to unsafe_memcpy() in a few places

The new fortify checking doesn't work for us in all places; this
switches to unsafe_memcpy() where appropriate to silence a few
warnings/errors.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/buckets.c
fs/bcachefs/extents.h