Whamcloud - gitweb
osc_connect needs to go with level LUSTRE_CONN_NEW. Fixed.
authorpschwan <pschwan>
Sat, 13 Jul 2002 19:10:22 +0000 (19:10 +0000)
committerpschwan <pschwan>
Sat, 13 Jul 2002 19:10:22 +0000 (19:10 +0000)
lustre/osc/osc_request.c

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