Whamcloud - gitweb
LU-17031 build: fix refefine __compiletime_strlen error
authorQian Yingjin <qian@ddn.com>
Fri, 18 Aug 2023 17:46:41 +0000 (10:46 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 21 Aug 2023 08:43:57 +0000 (08:43 +0000)
commit5571c05a6b5f9ae6c1f501b26fc48462d76aa7cf
tree64aa8a6d1d6369edb1e2649093167108151f9299
parentc8538f82b5e61b0ce9b21e74e47182e694905802
LU-17031 build: fix refefine __compiletime_strlen error

Lustre build failed on Ubuntu 2204 kernel v5.17 with "redefine
__compiletime_strlen".
This patch fixes this build error.

Lustre-change: https://review.whamcloud.com/51953
Lustre-commit: TBD (from aa50b0579aec9039e1ceab0bfdaac45e95df747d)

Fixes: 919b93b951 ("LU-16510 build: fortified memcpy from linux 6.1")
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Ic26daecd6b91614e01b5b0030f40eede205a21f7
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52001
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/include/libcfs/linux/linux-fortify-string.h