From 639ec3c0c467bc34cab399186d939452a85af7bb Mon Sep 17 00:00:00 2001 From: yury Date: Wed, 11 Oct 2006 11:22:10 +0000 Subject: [PATCH] - remove check for obd_configured from target_handle_connect(), this should be fixed some another way. --- lustre/ldlm/ldlm_lib.c | 3 +-- lustre/ptlrpc/gss/sec_gss.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 2df827f..b353a51 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -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")); diff --git a/lustre/ptlrpc/gss/sec_gss.c b/lustre/ptlrpc/gss/sec_gss.c index de1bfbd..83025d1 100644 --- a/lustre/ptlrpc/gss/sec_gss.c +++ b/lustre/ptlrpc/gss/sec_gss.c @@ -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")); -- 1.8.3.1