Whamcloud - gitweb
- check -ENODEV too
authortappro <tappro>
Mon, 12 Nov 2007 19:14:55 +0000 (19:14 +0000)
committertappro <tappro>
Mon, 12 Nov 2007 19:14:55 +0000 (19:14 +0000)
  b:13223
  i:shadow,fanyong

lustre/ptlrpc/client.c

index 1572579..765df31 100644 (file)
@@ -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. */