From patchwork Fri Jul 1 22:47:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Schmidt X-Patchwork-Id: 939462 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p61MlHJB006984 for ; Fri, 1 Jul 2011 22:47:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758008Ab1GAWrQ (ORCPT ); Fri, 1 Jul 2011 18:47:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38335 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757559Ab1GAWrQ (ORCPT ); Fri, 1 Jul 2011 18:47:16 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p61MlG8h002509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 1 Jul 2011 18:47:16 -0400 Received: from localhost6.localdomain6 (vpn1-7-70.ams2.redhat.com [10.36.7.70]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p61MlEiB002660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 1 Jul 2011 18:47:15 -0400 Received: from localhost6.localdomain6 (alice [127.0.0.1]) by localhost6.localdomain6 (8.14.4/8.14.4) with ESMTP id p61MlCUo012424 for ; Sat, 2 Jul 2011 00:47:13 +0200 From: Michal Schmidt Subject: [PATCH] sunrpc: add MODULE_ALIAS to match the filesystem name To: linux-nfs@vger.kernel.org Date: Sat, 02 Jul 2011 00:47:12 +0200 Message-ID: <20110701224712.12393.10369.stgit@localhost6.localdomain6> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 01 Jul 2011 22:47:18 +0000 (UTC) sunrpc implements the rpc_pipefs filesystem type. Add the alias to have the module requested automatically by the kernel when the filesystem is mounted. Signed-off-by: Michal Schmidt --- net/sunrpc/rpc_pipe.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 72bc536..c1d1996 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -1084,3 +1084,6 @@ void unregister_rpc_pipefs(void) kmem_cache_destroy(rpc_inode_cachep); unregister_filesystem(&rpc_pipe_fs_type); } + +/* Make 'mount -t rpc_pipefs ...' autoload this module. */ +MODULE_ALIAS("rpc_pipefs");