Whamcloud - gitweb
LU-14195 libcfs: test for nla_strscpy 05/47705/2
authorJames Simmons <jsimmons@infradead.org>
Thu, 23 Jun 2022 06:22:16 +0000 (23:22 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 5 Jul 2022 22:13:28 +0000 (22:13 +0000)
commit59994aba261d2540e97c3463dc2a7f87c95d0a16
tree657903fdd27dd87725f7da52b6cee8b14c42f1b5
parentc7645323d179c6674695944fca321aa5e725aaeb
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-by: Neil Brown <neilb@suse.de>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/47705
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
contrib/scripts/spelling.txt
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-net.h