Whamcloud - gitweb
Branch b1_6
authorjohann <johann>
Mon, 18 Feb 2008 11:12:25 +0000 (11:12 +0000)
committerjohann <johann>
Mon, 18 Feb 2008 11:12:25 +0000 (11:12 +0000)
b=13223
i=alexey.lyashkov
i=yong.fan

check for -ENODEV in ptlrpc_replay_interpret()

lustre/ptlrpc/client.c

index 169f72d..d20c451 100644 (file)
@@ -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. */