From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-yw0-f46.google.com ([209.85.213.46]:53237 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965711Ab2B2RQE (ORCPT ); Wed, 29 Feb 2012 12:16:04 -0500 Received: by yhmm54 with SMTP id m54so1709862yhm.19 for ; Wed, 29 Feb 2012 09:16:04 -0800 (PST) MIME-Version: 1.0 From: Jeff Layton To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org, skinsbursky@parallels.com Subject: [PATCH v7 2/5] sunrpc: create nfsd dir in rpc_pipefs Date: Wed, 29 Feb 2012 12:15:54 -0500 Message-Id: <1330535757-24925-3-git-send-email-jlayton@redhat.com> In-Reply-To: <1330535757-24925-1-git-send-email-jlayton@redhat.com> References: <1330535757-24925-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