From: tappro Date: Mon, 12 Nov 2007 19:14:55 +0000 (+0000) Subject: - check -ENODEV too X-Git-Tag: v1_7_0_51~512 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=af485c91cca9740d1f693fda5bc0cc1ef1c06f07;p=fs%2Flustre-release.git - check -ENODEV too b:13223 i:shadow,fanyong --- diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 1572579..765df31 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -1832,7 +1832,8 @@ static int ptlrpc_replay_interpret(struct ptlrpc_request *req, } if (lustre_msg_get_type(req->rq_repmsg) == PTL_RPC_MSG_ERR && - lustre_msg_get_status(req->rq_repmsg) == -ENOTCONN) + (lustre_msg_get_status(req->rq_repmsg) == -ENOTCONN || + lustre_msg_get_status(req->rq_repmsg) == -ENODEV)) GOTO(out, rc = lustre_msg_get_status(req->rq_repmsg)); /* The transno had better not change over replay. */