Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88a4d2b
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Thu, 10 Aug 2006 13:15:45 +0000
(13:15 +0000)
committer
wangdi
<wangdi>
Thu, 10 Aug 2006 13:15:45 +0000
(13:15 +0000)
Merge fix from b1_5
This Assert is not right for ost add dynamicly
lustre/lov/lov_log.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_log.c
b/lustre/lov/lov_log.c
index
454b5a6
..
5854b54
100644
(file)
--- a/
lustre/lov/lov_log.c
+++ b/
lustre/lov/lov_log.c
@@
-193,7
+193,7
@@
int lov_llog_init(struct obd_device *obd, struct obd_device *tgt,
RETURN(rc);
CDEBUG(D_CONFIG, "llog init with %d targets\n", count);
- LASSERT(lov->desc.ld_tgt_count == count);
+ /* count may not match ld_tgt_count during dynamic ost add */
for (i = 0, ctgt = lov->tgts; i < lov->desc.ld_tgt_count; i++, ctgt++) {
struct obd_device *child;
if (!ctgt->active)