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
/
lod
/
lod_pool.c
diff --git
a/lustre/lod/lod_pool.c
b/lustre/lod/lod_pool.c
index
2c85740
..
96b1bcf
100644
(file)
--- a/
lustre/lod/lod_pool.c
+++ b/
lustre/lod/lod_pool.c
@@
-466,7
+466,7
@@
int lod_pool_new(struct obd_device *obd, char *poolname)
if (new_pool == NULL)
RETURN(-ENOMEM);
if (new_pool == NULL)
RETURN(-ENOMEM);
- str
l
cpy(new_pool->pool_name, poolname, sizeof(new_pool->pool_name));
+ str
s
cpy(new_pool->pool_name, poolname, sizeof(new_pool->pool_name));
new_pool->pool_spill_target[0] = '\0';
atomic_set(&new_pool->pool_spill_hit, 0);
new_pool->pool_lobd = obd;
new_pool->pool_spill_target[0] = '\0';
atomic_set(&new_pool->pool_spill_hit, 0);
new_pool->pool_lobd = obd;