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-1856 build: fix 'out-of-bounds write' errors
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_internal.h
diff --git
a/lustre/mdd/mdd_internal.h
b/lustre/mdd/mdd_internal.h
index
b6c03aa
..
4396734
100644
(file)
--- a/
lustre/mdd/mdd_internal.h
+++ b/
lustre/mdd/mdd_internal.h
@@
-658,7
+658,7
@@
static inline void mdd_set_capainfo(const struct lu_env *env, int offset,
struct md_capainfo *ci = md_capainfo(env);
const struct lu_fid *fid = mdo2fid(obj);
-
LASSERT(offset >= 0 && offset <=
MD_CAPAINFO_MAX);
+
LASSERT(offset >= 0 && offset <
MD_CAPAINFO_MAX);
/* NB: in mdt_init0 */
if (!ci)
return;