switch (wi->swi_state) {
default:
LBUG();
- /* fallthrough */
+ fallthrough;
case SWI_STATE_NEWBORN: {
struct srpc_msg *msg;
struct srpc_generic_reply *reply;
ev->ev_status = rc;
}
}
- /* fallthrough */
+ fallthrough;
case SWI_STATE_BULK_STARTED:
LASSERT(rpc->srpc_bulk == NULL || ev->ev_fired);
break;
wi->swi_state = SWI_STATE_REQUEST_SENT;
- /* fallthrough */
+ fallthrough;
case SWI_STATE_REQUEST_SENT: {
enum srpc_msg_type type;
wi->swi_state = SWI_STATE_REPLY_RECEIVED;
}
- /* fallthrough */
+ fallthrough;
case SWI_STATE_REPLY_RECEIVED:
if (do_bulk && !rpc->crpc_bulkev.ev_fired)
break;
CERROR("Unknown event: status %d, type %d, lnet %d\n",
rpcev->ev_status, rpcev->ev_type, rpcev->ev_lnet);
LBUG();
- /* fallthrough */
+ fallthrough;
case SRPC_REQUEST_SENT:
if (ev->status == 0 && ev->type != LNET_EVENT_UNLINK) {
spin_lock(&srpc_data.rpc_glock);
srpc_data.rpc_counters.rpcs_sent++;
spin_unlock(&srpc_data.rpc_glock);
}
- /* fallthrough */
+ fallthrough;
case SRPC_REPLY_RCVD:
case SRPC_BULK_REQ_RCVD:
crpc = rpcev->ev_data;
if (!ev->unlinked)
break; /* wait for final event */
- /* fallthrough */
+ fallthrough;
case SRPC_BULK_PUT_SENT:
if (ev->status == 0 && ev->type != LNET_EVENT_UNLINK) {
spin_lock(&srpc_data.rpc_glock);
spin_unlock(&srpc_data.rpc_glock);
}
- /* fallthrough */
+ fallthrough;
case SRPC_REPLY_SENT:
srpc = rpcev->ev_data;
scd = srpc->srpc_scd;
switch (state) {
default:
LBUG();
- /* fallthrough */
+ fallthrough;
case SRPC_STATE_RUNNING:
spin_lock(&srpc_data.rpc_glock);
spin_unlock(&srpc_data.rpc_glock);
stt_shutdown();
- /* fallthrough */
+ fallthrough;
case SRPC_STATE_EQ_INIT:
rc = LNetClearLazyPortal(SRPC_FRAMEWORK_REQUEST_PORTAL);
rc = LNetClearLazyPortal(SRPC_REQUEST_PORTAL);
LASSERT(rc == 0);
lnet_assert_handler_unused(srpc_data.rpc_lnet_handler);
- /* fallthrough */
+ fallthrough;
case SRPC_STATE_NI_INIT:
LNetNIFini();