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]
/
lustre
/
osd-ldiskfs
/
osd_lproc.c
diff --git
a/lustre/osd-ldiskfs/osd_lproc.c
b/lustre/osd-ldiskfs/osd_lproc.c
index
9e6cbf9
..
e6b71fb
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_lproc.c
+++ b/
lustre/osd-ldiskfs/osd_lproc.c
@@
-80,7
+80,7
@@
static void osd_symlink_brw_stats(struct osd_device *osd)
if (len_root > (p - path) || len_root + len_path + 16 > PATH_MAX)
goto out;
- str
l
cpy(path, root, len_root);
+ str
s
cpy(path, root, len_root);
if (p > path + len_root) {
s = path + len_root;
while ((*s++ = *p++) != '\0');