Whamcloud - gitweb
LU-6087 lod: use correct attrs in striped directory create
[fs/lustre-release.git] / lustre / lod / lod_object.c
index bb9aac4..5dbd0b9 100644 (file)
@@ -2417,7 +2417,8 @@ static int lod_xattr_set_lmv(const struct lu_env *env, struct dt_object *dt,
        if (rc != 0)
                RETURN(rc);
 
-       attr->la_valid = LA_TYPE | LA_MODE;
+       attr->la_valid = LA_ATIME | LA_MTIME | LA_CTIME |
+                        LA_MODE | LA_UID | LA_GID | LA_TYPE;
        dof->dof_type = DFT_DIR;
 
        rc = lod_prep_lmv_md(env, dt, &lmv_buf);