Whamcloud - gitweb
LU-17592 build: kernel 6.8 removed strlcpy() 27/54227/12
authorShaun Tancheff <shaun.tancheff@hpe.com>
Sun, 24 Mar 2024 06:55:08 +0000 (13:55 +0700)
committerJian Yu <yujian@whamcloud.com>
Tue, 2 Apr 2024 22:32:31 +0000 (22:32 +0000)
commit1861e4ce8ec6d66d17ed73042f39bacb6496685c
tree3bd2782354dd2c32c7f045d02b67062be203e16f
parentbb6a2d2e80f04645b488ecca6ba14cb628e3eeb3
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
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