From: Jeff Layton Date: Wed, 21 Mar 2012 13:52:04 +0000 (-0400) Subject: sunrpc: create nfsd dir in rpc_pipefs X-Git-Tag: v3.4-rc1~40^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3537c35c21f0e6750aa8bd786949b55509c6d0d;p=profile%2Fivi%2Fkernel-x86-ivi.git sunrpc: create nfsd dir in rpc_pipefs Add a new top-level dir in rpc_pipefs to hold the pipe for the clientid upcall. Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 8584ec0..e651e1b 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -1014,6 +1014,7 @@ enum { RPCAUTH_statd, RPCAUTH_nfsd4_cb, RPCAUTH_cache, + RPCAUTH_nfsd, RPCAUTH_RootEOF }; @@ -1046,6 +1047,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, + }, }; /*