Whamcloud - gitweb
LU-17592 build: kernel 6.8 removed strlcpy() 27/54227/13
authorShaun Tancheff <shaun.tancheff@hpe.com>
Sun, 24 Mar 2024 06:55:08 +0000 (13:55 +0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 15 Apr 2024 16:52:18 +0000 (16:52 +0000)
commit7a0517fa25162a6af2e10827851d7d8c7a4ed1ac
treea3179da7f488d1b1343191b2c209799bbf057670
parentb09f56c208c6c34375d098f66075688f329b7c76
LU-17592 build: kernel 6.8 removed strlcpy()

Linux commit v6.7-11707-gd26270061ae6
  string: Remove strlcpy()

strlcpy() is removed, use strscpy() and provide a strscpy()
for kernels that do not have one.

HPE-bug-id: LUS-12181
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ieab872f20e08d17a4842bc944fa38f9867de81f9
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54227
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
57 files changed:
contrib/scripts/spelling.txt
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-misc.h
libcfs/libcfs/hash.c
libcfs/libcfs/tracefile.c
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/socklnd/socklnd.c
lnet/lnet/config.c
lnet/selftest/conrpc.c
lnet/selftest/console.c
lnet/selftest/framework.c
lustre/fid/fid_store.c
lustre/fld/fld_cache.c
lustre/llite/pcc.c
lustre/lmv/lmv_obd.c
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/lod/lod_pool.c
lustre/lov/lov_ea.c
lustre/lov/lov_pack.c
lustre/lov/lov_pool.c
lustre/mdc/mdc_lib.c
lustre/mdd/mdd_device.c
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_lproc.c
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_lib.c
lustre/mgc/mgc_request.c
lustre/mgc/mgc_request_server.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_llog.c
lustre/obdclass/dt_object.c
lustre/obdclass/jobid.c
lustre/obdclass/obd_config.c
lustre/obdclass/obd_mount.c
lustre/obdclass/upcall_cache.c
lustre/ofd/ofd_access_log.c
lustre/ofd/ofd_io.c
lustre/ofd/ofd_objects.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_lproc.c
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_lproc.c
lustre/osd-zfs/osd_oi.c
lustre/osd-zfs/osd_quota.c
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_storage.c
lustre/ptlrpc/nrs.c
lustre/ptlrpc/nrs_tbf.c
lustre/ptlrpc/sec_config.c
lustre/ptlrpc/sec_lproc.c
lustre/quota/qmt_dev.c
lustre/quota/qsd_lib.c
lustre/target/tgt_grant.c
lustre/target/tgt_lastrcvd.c
lustre/target/tgt_mount.c