From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-gy0-f174.google.com ([209.85.160.174]:44390 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030589Ab2CFP3A (ORCPT ); Tue, 6 Mar 2012 10:29:00 -0500 Received: by mail-gy0-f174.google.com with SMTP id r11so2280207ghr.19 for ; Tue, 06 Mar 2012 07:29:00 -0800 (PST) MIME-Version: 1.0 From: Jeff Layton To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org, skinsbursky@parallels.com Subject: [PATCH v9 2/6] sunrpc: create nfsd dir in rpc_pipefs Date: Tue, 6 Mar 2012 10:28:49 -0500 Message-Id: <1331047733-1641-3-git-send-email-jlayton@redhat.com> In-Reply-To: <1331047733-1641-1-git-send-email-jlayton@redhat.com> References: <1331047733-1641-1-git-send-email-jlayton@redhat.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: Add a new top-level dir in rpc_pipefs to hold the pipe for the clientid upcall. Signed-off-by: Jeff Layton --- net/sunrpc/rpc_pipe.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 6873c9b..c81915d 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -992,6 +992,7 @@ enum { RPCAUTH_statd, RPCAUTH_nfsd4_cb, RPCAUTH_cache, + RPCAUTH_nfsd, RPCAUTH_RootEOF }; @@ -1024,6 +1025,10 @@ static const struct rpc_filelist files[] = { .name = "cache", .mode = S_IFDIR | S_IRUGO | S_IXUGO, }, + [RPCAUTH_nfsd] = { + .name = "nfsd", + .mode = S_IFDIR | S_IRUGO | S_IXUGO, + }, }; /* -- 1.7.7.6