Whamcloud - gitweb
LU-3892 ofd: setattr doesn't need to return attributes
[fs/lustre-release.git] / lustre / ofd / ofd_obd.c
index fd1f6e0..aa2c48a 100644 (file)
@@ -894,12 +894,6 @@ int ofd_setattr(const struct lu_env *env, struct obd_export *exp,
                ldlm_resource_putref(res);
        }
 
-       oinfo->oi_oa->o_valid = OBD_MD_FLID;
-
-       /* Quota release needs uid/gid info */
-       rc = ofd_attr_get(env, fo, &info->fti_attr);
-       obdo_from_la(oinfo->oi_oa, &info->fti_attr,
-                    OFD_VALID_FLAGS | LA_UID | LA_GID);
        ofd_info2oti(info, oti);
 
        ofd_counter_incr(exp, LPROC_OFD_STATS_SETATTR, oti->oti_jobid, 1);