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-2482 layout: introduce new layout for released files
[fs/lustre-release.git]
/
lustre
/
lod
/
lod_object.c
diff --git
a/lustre/lod/lod_object.c
b/lustre/lod/lod_object.c
index
787e461
..
9eeda28
100644
(file)
--- a/
lustre/lod/lod_object.c
+++ b/
lustre/lod/lod_object.c
@@
-962,8
+962,6
@@
int lod_striping_create(const struct lu_env *env, struct dt_object *dt,
int rc = 0, i;
ENTRY;
- LASSERT(lo->ldo_stripe);
- LASSERT(lo->ldo_stripenr > 0);
LASSERT(lo->ldo_striping_cached == 0);
/* create all underlying objects */
@@
-1235,6
+1233,7
@@
void lod_object_free_striping(const struct lu_env *env, struct lod_object *lo)
lo->ldo_stripes_allocated = 0;
}
lo->ldo_stripenr = 0;
+ lo->ldo_pattern = 0;
}
/*