struct vfs_cred *vcred);
static void gss_sec_destroy_ctx(struct ptlrpc_sec *sec,
struct ptlrpc_cli_ctx *ctx);
+static __gss_mod_initialized = 0;
/********************************************
* wire data swabber *
********************************************/
int rc;
ENTRY;
+ LASSERTF((__gss_mod_initialized == 1),
+ "not initialized %d\n", __gss_mod_initialized);
LASSERT(req->rq_reqbuf);
LASSERT(req->rq_svc_ctx == NULL);
if (rc)
goto out_upcall;
+ __gss_mod_initialized = 1;
return 0;
out_upcall:
gss_exit_upcall();
if (request_module("ptlrpc_gss") != 0)
CERROR("Unable to load module ptlrpc_gss\n");
else
- CDEBUG(D_INFO, "module ptlrpc_gss loaded\n");
+ CWARN("module ptlrpc_gss loaded\n");
atomic_set(&loaded, 1);
}