/* Wait for recovery to complete and resend. If evicted, then
this request will be errored out later.*/
spin_lock_irqsave(&failed_req->rq_lock, flags);
- if (!failed_req->rq_no_resend)
- failed_req->rq_resend = 1;
+ failed_req->rq_resend = 1;
spin_unlock_irqrestore(&failed_req->rq_lock, flags);
EXIT;
* This should only be called by the ioctl interface, currently
* with the lctl deactivate and activate commands.
*/
-int ptlrpc_set_import_active(struct obd_import *imp, int active)
+int ptlrpc_set_import_active(struct obd_import *imp, int active)
{
struct obd_device *obd = imp->imp_obd;
int rc = 0;