Whamcloud - gitweb
LU-7660 dne: support fs default stripe
[fs/lustre-release.git] / lustre / lod / lod_lov.c
index 0ed2fe8..d362f48 100644 (file)
@@ -960,7 +960,7 @@ int lod_parse_striping(const struct lu_env *env, struct lod_object *lo,
        if (magic == LOV_MAGIC_V3) {
                struct lov_mds_md_v3 *v3 = (struct lov_mds_md_v3 *) lmm;
                objs = &v3->lmm_objects[0];
-               lod_object_set_pool(lo, v3->lmm_pool_name);
+               /* no need to set pool, which is used in create only */
        } else {
                objs = &lmm->lmm_objects[0];
        }
@@ -1041,9 +1041,6 @@ int lod_load_striping_locked(const struct lu_env *env, struct lod_object *lo)
                 */
                rc = lod_parse_dir_striping(env, lo, buf);
        }
-
-       if (rc == 0)
-               lo->ldo_striping_cached = 1;
 out:
        RETURN(rc);
 }