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-4353 strncmp: Replace incorrect strncmp()s with strcmp()
[fs/lustre-release.git]
/
lustre
/
lod
/
lod_object.c
diff --git
a/lustre/lod/lod_object.c
b/lustre/lod/lod_object.c
index
6179e4d
..
afd9373
100644
(file)
--- a/
lustre/lod/lod_object.c
+++ b/
lustre/lod/lod_object.c
@@
-530,7
+530,7
@@
static int lod_xattr_set(const struct lu_env *env,
attr = dt->do_lu.lo_header->loh_attr & S_IFMT;
if (S_ISDIR(attr)) {
- if (str
ncmp(name, XATTR_NAME_LOV, strlen(XATTR_NAME_LOV)
) == 0)
+ if (str
cmp(name, XATTR_NAME_LOV
) == 0)
rc = lod_xattr_set_lov_on_dir(env, dt, buf, name,
fl, th, capa);
else