Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-qw0-f53.google.com ([209.85.216.53]:39674 "EHLO mail-qw0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753925Ab2BAPoW (ORCPT ); Wed, 1 Feb 2012 10:44:22 -0500 Received: by qafk1 with SMTP id k1so902950qaf.19 for ; Wed, 01 Feb 2012 07:44:22 -0800 (PST) From: Jeff Layton To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org Subject: [PATCH v5 2/5] sunrpc: create nfsd dir in rpc_pipefs Date: Wed, 1 Feb 2012 10:44:09 -0500 Message-Id: <1328111052-28389-3-git-send-email-jlayton@redhat.com> In-Reply-To: <1328111052-28389-1-git-send-email-jlayton@redhat.com> References: <1328111052-28389-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 63a7a7a..3dc2c6e 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -986,6 +986,7 @@ enum { RPCAUTH_statd, RPCAUTH_nfsd4_cb, RPCAUTH_cache, + RPCAUTH_nfsd, RPCAUTH_RootEOF }; @@ -1018,6 +1019,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, + }, }; static int -- 1.7.7.6