From c5f15b0a679dd6650259e688faa2b32f912839b5 Mon Sep 17 00:00:00 2001 From: shadow Date: Wed, 3 Dec 2008 07:39:44 +0000 Subject: [PATCH] shrink LOV EAs before replying Branch b1_8_gate b=16693 i=shadow i=johann --- lustre/mds/mds_reint.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lustre/mds/mds_reint.c b/lustre/mds/mds_reint.c index f54b6f5..4c88dbd 100644 --- a/lustre/mds/mds_reint.c +++ b/lustre/mds/mds_reint.c @@ -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); -- 1.8.3.1