Whamcloud - gitweb
LU-16510 build: include unsafe_memcpy definition
authorPatrick Farrell <pfarrell@whamcloud.com>
Fri, 7 Apr 2023 18:15:43 +0000 (14:15 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 15 Apr 2023 00:07:05 +0000 (00:07 +0000)
commitd72f73405044c0bb2beaba83e035162d26a24a0f
tree03d0e4431bb17010b6703aa4a8ce76bd473cea2a
parent1896b521a3d71d4c2c104330934da93cbfd0a9a0
LU-16510 build: include unsafe_memcpy definition

The original LU-16510 missed a key part of the
unsafe_memcpy code from the upstream kernel, and so we
weren't actually defining unsafe_memcpy() as intended.

Thanks to Aurelien Degremont <adegremont@nvidia.com> for
pointing this out.

Fixes: 5099a3b7 ("LU-16510 build: fortified memcpy from linux 6.1")
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ib9e2d56ed0b3691f1ab9fcd25403fa86ac784b6d
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50574
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/include/libcfs/linux/linux-fortify-string.h