break;
case MGMT_CONNECT:
DEBUG_REQ(D_RPCTRACE, req, "connect");
- rc = target_handle_connect(req, NULL /* no recovery handler */);
+ rc = target_handle_connect(req);
break;
case MGMT_DISCONNECT:
DEBUG_REQ(D_RPCTRACE, req, "disconnect");
}
static struct obd_ops mgmt_obd_ops = {
- o_owner: THIS_MODULE,
- o_setup: mgmt_setup,
- o_cleanup: mgmt_cleanup,
- o_connect: class_connect,
- o_disconnect: class_disconnect
+ .o_owner = THIS_MODULE,
+ .o_setup = mgmt_setup,
+ .o_cleanup = mgmt_cleanup,
+ .o_connect = class_connect,
+ .o_disconnect = class_disconnect
};
static int __init mgmt_init(void)