X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flov%2Flov_object.c;h=1491851d9feaaf5f5392d756a55bd5e989439476;hp=eb385d3f0cf4f56380e85e9673942fd7c4beb83b;hb=98015004516cad1173e2bac2a4695bdc56e4d9a4;hpb=30b356a28b5094015963e83457a196584c799558 diff --git a/lustre/lov/lov_object.c b/lustre/lov/lov_object.c index eb385d3..1491851 100644 --- a/lustre/lov/lov_object.c +++ b/lustre/lov/lov_object.c @@ -216,6 +216,7 @@ static int lov_init_raid0(const struct lu_env *env, struct lov_device *dev, spin_lock_init(&r0->lo_sub_lock); r0->lo_nr = lse->lsme_stripe_count; + r0->lo_trunc_stripeno = -1; OBD_ALLOC_PTR_ARRAY_LARGE(r0->lo_sub, r0->lo_nr); if (r0->lo_sub == NULL)