Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-ia0-f175.google.com ([209.85.210.175]:61176 "EHLO mail-ia0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755073Ab3A3XmJ (ORCPT ); Wed, 30 Jan 2013 18:42:09 -0500 Received: by mail-ia0-f175.google.com with SMTP id r4so3123561iaj.6 for ; Wed, 30 Jan 2013 15:42:09 -0800 (PST) From: Chuck Lever Subject: [PATCH v2 1/9] SUNRPC: Missing module alias for auth_rpcgss.ko To: linux-nfs@vger.kernel.org Cc: Chuck Lever Date: Wed, 30 Jan 2013 18:42:07 -0500 Message-ID: <20130130234207.47786.50988.stgit@seurat.1015granger.net> In-Reply-To: <20130130231546.47786.6016.stgit@seurat.1015granger.net> References: <20130130231546.47786.6016.stgit@seurat.1015granger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Sender: linux-nfs-owner@vger.kernel.org List-ID: Commit f344f6df "SUNRPC: Auto-load RPC authentication kernel modules", Mon Mar 20 13:44:08 2006, adds a request_module() call in rpcauth_create() to auto-load RPC security modules when a ULP tries to create a credential of that flavor. In rpcauth_create(), the name of the module to load is built like this: request_module("rpc-auth-%u", flavor); This means that for, say, RPC_AUTH_GSS, request_module() is looking for a module or alias called "rpc-auth-6". I don't see such an alias -- the GSS module is named "auth_rpcgss". Signed-off-by: Chuck Lever --- net/sunrpc/auth_gss/auth_gss.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index 6e5c824..4db065d 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c @@ -1721,6 +1721,7 @@ static void __exit exit_rpcsec_gss(void) rcu_barrier(); /* Wait for completion of call_rcu()'s */ } +MODULE_ALIAS("rpc-auth-6"); MODULE_LICENSE("GPL"); module_param_named(expired_cred_retry_delay, gss_expired_cred_retry_delay,