Whamcloud - gitweb
LU-8359 ldlm: Wrong evict during failover
[fs/lustre-release.git] / lustre / ofd / ofd_obd.c
index 33d6b4f..ebd74a8 100644 (file)
@@ -436,9 +436,7 @@ int ofd_obd_disconnect(struct obd_export *exp)
 
        tgt_grant_discard(exp);
 
-       /* Do not erase record for recoverable client. */
-       if (exp->exp_obd->obd_replayable &&
-           (!exp->exp_obd->obd_fail || exp->exp_failed)) {
+       if (exp->exp_obd->obd_replayable) {
                rc = lu_env_init(&env, LCT_DT_THREAD);
                if (rc)
                        GOTO(out, rc);