Whamcloud - gitweb
LU-14195 libcfs: test for nla_strscpy
authorJames Simmons <jsimmons@infradead.org>
Fri, 24 Jun 2022 18:12:38 +0000 (11:12 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 27 Jun 2022 02:13:13 +0000 (02:13 +0000)
commit1532b8ca0f4d86825c3d34c584eaa66f16d56e99
treeb8f0a37ec50c734b658686cac4b8cae71fd0e1d1
parenta12ec80caf8bd017d0d3bfb682995f4d25a6715c
LU-14195 libcfs: test for nla_strscpy

During the development of the Linux 5.10 kernel the function
nla_strlcpy() was replaced by nla_strscpy(). Handle this
change for Lustre.

Lustre-change: https://review.whamcloud.com/46876
Lustre-commit: b762319d5ad0884adfb2f79c956a798fba665566

Test-parameters: trivial
Change-Id: I47f12add619cfd88a3692f0760b8bcc35b7877d9
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/47769
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
contrib/scripts/spelling.txt
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-net.h