Whamcloud - gitweb
- remove check for obd_configured from target_handle_connect(), this should be fixed...
authoryury <yury>
Wed, 11 Oct 2006 11:22:10 +0000 (11:22 +0000)
committeryury <yury>
Wed, 11 Oct 2006 11:22:10 +0000 (11:22 +0000)
lustre/ldlm/ldlm_lib.c
lustre/ptlrpc/gss/sec_gss.c

index 2df827f..b353a51 100644 (file)
@@ -573,8 +573,7 @@ int target_handle_connect(struct ptlrpc_request *req)
          * Do not accept connections if obd is not set up, or not configured
          * yet.
          */
-        if (!target || target->obd_stopping || !target->obd_set_up ||
-            !target->obd_configured) {
+        if (!target || target->obd_stopping || !target->obd_set_up) {
                 DEBUG_REQ(D_ERROR, req, "UUID '%s' is not available "
                           " for connect (%s)", str, !target ? "no target" :
                           (target->obd_stopping ? "stopping" : "not set up"));
index de1bfbd..83025d1 100644 (file)
@@ -1646,8 +1646,7 @@ int gss_svc_handle_init(struct ptlrpc_request *req,
 
         uuid = (struct obd_uuid *) uuid_obj.data;
         target = class_uuid2obd(uuid);
-        if (!target || target->obd_stopping || !target->obd_set_up || 
-            !target->obd_configured) {
+        if (!target || target->obd_stopping || !target->obd_set_up) {
                 CERROR("target '%s' is not available for context init (%s)",
                        uuid->uuid, target == NULL ? "no target" :
                        (target->obd_stopping ? "stopping" : "not set up"));