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
b=18605
[fs/lustre-release.git]
/
lustre
/
lov
/
lov_cl_internal.h
diff --git
a/lustre/lov/lov_cl_internal.h
b/lustre/lov/lov_cl_internal.h
index
98c1270
..
8da51aa
100644
(file)
--- a/
lustre/lov/lov_cl_internal.h
+++ b/
lustre/lov/lov_cl_internal.h
@@
-800,7
+800,8
@@
static inline struct lov_layout_raid0 *lov_r0(struct lov_object *lov)
LASSERT(lov->lo_type == LLT_RAID0);
raid0 = &lov->u.raid0;
- LASSERT(raid0->lo_lsm->lsm_wire.lw_magic == LOV_MAGIC);
+ LASSERT(raid0->lo_lsm->lsm_wire.lw_magic == LOV_MAGIC ||
+ raid0->lo_lsm->lsm_wire.lw_magic == LOV_MAGIC_V3);
return raid0;
}