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
/
mdt
/
mdt_internal.h
diff --git
a/lustre/mdt/mdt_internal.h
b/lustre/mdt/mdt_internal.h
index
4c33a37
..
fbb10c0
100644
(file)
--- a/
lustre/mdt/mdt_internal.h
+++ b/
lustre/mdt/mdt_internal.h
@@
-821,7
+821,7
@@
static inline void mdt_set_capainfo(struct mdt_thread_info *info, int offset,
{
struct md_capainfo *ci;
-
LASSERT(offset >= 0 && offset <=
MD_CAPAINFO_MAX);
+
LASSERT(offset >= 0 && offset <
MD_CAPAINFO_MAX);
if (!info->mti_mdt->mdt_opts.mo_mds_capa ||
!(info->mti_exp->exp_connect_flags & OBD_CONNECT_MDS_CAPA))
return;