Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-17592 build: kernel 6.8 removed strlcpy()
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
hash.c
diff --git
a/libcfs/libcfs/hash.c
b/libcfs/libcfs/hash.c
index
86f321b
..
34da19d
100644
(file)
--- a/
libcfs/libcfs/hash.c
+++ b/
libcfs/libcfs/hash.c
@@
-1068,7
+1068,7
@@
cfs_hash_create(char *name, unsigned cur_bits, unsigned max_bits,
if (hs == NULL)
RETURN(NULL);
- str
l
cpy(hs->hs_name, name, len);
+ str
s
cpy(hs->hs_name, name, len);
hs->hs_flags = flags;
kref_init(&hs->hs_refcount);