From 8cc1e09057ec1a06de3cc6ca9f4eb292fcdd299e Mon Sep 17 00:00:00 2001 From: Vitaly Fertman Date: Tue, 3 Aug 2010 13:49:27 +0400 Subject: [PATCH] b=11739 eliminate lbug i=green i=adilger don't LBUG on network errors in ldlm_handle_cancel(). --- lustre/ldlm/ldlm_lockd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lustre/ldlm/ldlm_lockd.c b/lustre/ldlm/ldlm_lockd.c index 7d56276..579d33f 100644 --- a/lustre/ldlm/ldlm_lockd.c +++ b/lustre/ldlm/ldlm_lockd.c @@ -1439,10 +1439,7 @@ int ldlm_handle_cancel(struct ptlrpc_request *req) if (!ldlm_request_cancel(req, dlm_req, 0)) req->rq_status = ESTALE; - if (ptlrpc_reply(req) != 0) - LBUG(); - - RETURN(0); + RETURN(ptlrpc_reply(req)); } void ldlm_handle_bl_callback(struct ldlm_namespace *ns, -- 1.8.3.1