Whamcloud - gitweb
LU-5823 llite: Remove access of stripe in ll_setattr_raw
[fs/lustre-release.git] / lustre / lov / lov_object.c
index d32ecd1..a1fce2f 100644 (file)
@@ -1486,14 +1486,12 @@ static int lov_object_layout_get(const struct lu_env *env,
        if (lsm == NULL) {
                cl->cl_size = 0;
                cl->cl_layout_gen = CL_LAYOUT_GEN_EMPTY;
-               cl->cl_is_released = false;
 
                RETURN(0);
        }
 
        cl->cl_size = lov_mds_md_size(lsm->lsm_stripe_count, lsm->lsm_magic);
        cl->cl_layout_gen = lsm->lsm_layout_gen;
-       cl->cl_is_released = lsm_is_released(lsm);
 
        rc = lov_lsm_pack(lsm, buf->lb_buf, buf->lb_len);
        lov_lsm_put(lsm);