From ed4a9d1dca3787b837b8c4ccc87a0e2491d3a5ca Mon Sep 17 00:00:00 2001
From: isaac <isaac>
Date: Tue, 15 Jul 2008 05:27:35 +0000
Subject: [PATCH] i=wangdi: -   fixed a typo.

---
 lustre/ptlrpc/niobuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/ptlrpc/niobuf.c b/lustre/ptlrpc/niobuf.c
index 99f3d8a0ae..39282b4770 100644
--- a/lustre/ptlrpc/niobuf.c
+++ b/lustre/ptlrpc/niobuf.c
@@ -542,7 +542,7 @@ int ptl_send_rpc(struct ptlrpc_request *request, int noreply)
                         /* ...but the MD attach didn't succeed... */
                         request->rq_receiving_reply = 0;
                         spin_unlock(&request->rq_lock);
-                        GOTO(cleanup_me, rc -ENOMEM);
+                        GOTO(cleanup_me, rc = -ENOMEM);
                 }
 
                 CDEBUG(D_NET, "Setup reply buffer: %u bytes, xid "LPU64
-- 
GitLab