Whamcloud - gitweb
b=3031
[fs/lustre-release.git] / lustre / obdecho / echo_client.c
index f28232d..b52d52b 100644 (file)
@@ -1347,7 +1347,7 @@ echo_client_setup(struct obd_device *obddev, obd_count len, void *buf)
         INIT_LIST_HEAD (&ec->ec_objects);
         ec->ec_unique = 0;
 
-        rc = obd_connect(&conn, tgt, &echo_uuid, FILTER_GROUP_ECHO);
+        rc = obd_connect(&conn, tgt, &echo_uuid, NULL, FILTER_GROUP_ECHO);
         if (rc) {
                 CERROR("fail to connect to device %s\n", lcfg->lcfg_inlbuf1);
                 return (rc);
@@ -1391,6 +1391,7 @@ static int echo_client_cleanup(struct obd_device *obddev, int flags)
 static int echo_client_connect(struct lustre_handle *conn,
                                struct obd_device *src, 
                               struct obd_uuid *cluuid,
+                               struct obd_connect_data *data,
                                unsigned long flags)
 {
         struct obd_export *exp;