@@ -246,10 +246,7 @@ populate_shared_memory:
iter,
new_op->downcall.resp.io.amt_complete);
if (ret < 0) {
- /*
- * put error codes in downcall so that handle_io_error()
- * preserves it properly
- */
+ WARN_ON(!op_state_serviced(new_op));
new_op->downcall.status = ret;
handle_io_error();
goto out;
@@ -205,6 +205,7 @@ retry_servicing:
/* op uses shared memory */
if (orangefs_get_bufmap_init() == 0) {
+ WARN_ON(1);
/*
* This operation uses the shared memory system AND
* the system is not yet ready. This situation occurs