Whamcloud - gitweb
Add separate create locks per object group.
[fs/lustre-release.git] / lustre / mgmt / mgmt_svc.c
index 8743e72..0dff689 100644 (file)
@@ -61,7 +61,7 @@ static int mgmt_handler(struct ptlrpc_request *req)
                 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");
@@ -125,11 +125,11 @@ static int mgmt_cleanup(struct obd_device *obd, int flags)
 }
 
 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)