From dccf8db6c5dd9b11267ea25f6b00c839c69fc8e4 Mon Sep 17 00:00:00 2001
From: yangsheng <yangsheng>
Date: Fri, 17 Oct 2008 14:53:37 +0000
Subject: [PATCH] Branch b1_6 b=17357 i=johann, shadow, bobijam

Reset rep_swap_mask to prevent confuse after resend.
---
 lustre/ptlrpc/niobuf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lustre/ptlrpc/niobuf.c b/lustre/ptlrpc/niobuf.c
index 920786102c..a7b0372071 100644
--- a/lustre/ptlrpc/niobuf.c
+++ b/lustre/ptlrpc/niobuf.c
@@ -536,6 +536,7 @@ int ptl_send_rpc(struct ptlrpc_request *request, int noreply)
         request->rq_net_err = 0;
         request->rq_resend = 0;
         request->rq_restart = 0;
+        request->rq_rep_swab_mask = 0;
         spin_unlock(&request->rq_lock);
 
         if (!noreply) {
-- 
GitLab