Whamcloud - gitweb
mdc_connect needs to use a level of LUSTRE_CONN_NEW.
authorshaver <shaver>
Wed, 10 Jul 2002 20:31:23 +0000 (20:31 +0000)
committershaver <shaver>
Wed, 10 Jul 2002 20:31:23 +0000 (20:31 +0000)
(I broke mounting on the trunk before, this fixes it.)

lustre/mdc/mdc_request.c

index d15c4a9..dea2dce 100644 (file)
@@ -747,6 +747,7 @@ static int mdc_connect(struct lustre_handle *conn, struct obd_device *obd)
         if (!request)
                 GOTO(out_disco, -ENOMEM);
 
+        request->rq_level = LUSTRE_CONN_NEW;
         request->rq_replen = lustre_msg_size(0, NULL);
 
         rc = ptlrpc_queue_wait(request);