Whamcloud - gitweb
LU-15868 lfsck: don't crash upon dir migration failure
[fs/lustre-release.git] / lustre / target / out_handler.c
index d530f82..c09f221 100644 (file)
@@ -1219,7 +1219,10 @@ int out_handle(struct tgt_session_info *tsi)
                                }
                        }
 
-                       rc = h->th_act(tsi);
+                       if (OBD_FAIL_CHECK(OBD_FAIL_OUT_EIO))
+                               rc = -EIO;
+                       else
+                               rc = h->th_act(tsi);
 next:
                        reply_index++;
                        dt_object_put(env, dt_obj);