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-1187 lmv: allocate lmv tgts array by index
[fs/lustre-release.git]
/
lustre
/
lmv
/
lmv_internal.h
diff --git
a/lustre/lmv/lmv_internal.h
b/lustre/lmv/lmv_internal.h
index
3e3b842
..
32efb75
100644
(file)
--- a/
lustre/lmv/lmv_internal.h
+++ b/
lustre/lmv/lmv_internal.h
@@
-113,7
+113,7
@@
static inline int lmv_get_easize(struct lmv_obd *lmv)
static inline struct lmv_tgt_desc *
lmv_get_target(struct lmv_obd *lmv, mdsno_t mds)
{
-
return &
lmv->tgts[mds];
+
return
lmv->tgts[mds];
}
static inline struct lmv_tgt_desc *