Whamcloud - gitweb
shrink LOV EAs before replying
authorshadow <shadow>
Wed, 3 Dec 2008 07:39:44 +0000 (07:39 +0000)
committershadow <shadow>
Wed, 3 Dec 2008 07:39:44 +0000 (07:39 +0000)
Branch b1_8_gate
b=16693
i=shadow
i=johann

lustre/mds/mds_reint.c

index f54b6f5..4c88dbd 100644 (file)
@@ -2059,7 +2059,7 @@ cleanup_no_trans:
         }
         req->rq_status = rc;
 
-        mds_shrink_reply(obd, req, body, REPLY_REC_OFF + 1);
+        mds_shrink_reply(obd, req, body, offset + 1);
 
         /* trigger dqrel on the owner of child and parent */
         lquota_adjust(mds_quota_interface_ref, obd, qcids, qpids, rc,
@@ -2723,6 +2723,8 @@ cleanup_no_trans:
         }
         req->rq_status = rc;
 
+        mds_shrink_reply(obd, req, body, offset + 1);
+
         /* acquire/release qunit */
         lquota_adjust(mds_quota_interface_ref, obd, qcids, qpids, rc,
                       FSFILT_OP_RENAME);