From 69430f389bb5f71a695fc1fe3ac246f36dbab344 Mon Sep 17 00:00:00 2001 From: johann Date: Mon, 18 Feb 2008 11:12:25 +0000 Subject: [PATCH] Branch b1_6 b=13223 i=alexey.lyashkov i=yong.fan check for -ENODEV in ptlrpc_replay_interpret() --- lustre/ptlrpc/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 169f72d0..d20c451 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -1988,7 +1988,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. */ -- 1.8.3.1