Whamcloud - gitweb
- filter_punch() refreshes attributes once truncate is done
authoralex <alex>
Wed, 21 Oct 2009 10:07:53 +0000 (10:07 +0000)
committeralex <alex>
Wed, 21 Oct 2009 10:07:53 +0000 (10:07 +0000)
lustre/ofd/ofd_obd.c

index ca8b1ff..329a710 100644 (file)
@@ -776,6 +776,7 @@ static int filter_punch(struct obd_export *exp, struct obd_info *oinfo,
 
         oinfo->oi_oa->o_valid = OBD_MD_FLID;
         /* Quota release needs uid/gid info */
+        rc = filter_attr_get(&env, fo, &info->fti_attr);
         obdo_from_la(oinfo->oi_oa, &info->fti_attr,
                      FILTER_VALID_FLAGS | LA_UID | LA_GID);
         filter_info2oti(info, oti);