diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-03-21 09:52:04 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-03-26 11:49:47 -0400 |
commit | b3537c35c21f0e6750aa8bd786949b55509c6d0d (patch) | |
tree | 305421cad89e41a4feb22aa7e302124249a25ce7 /net/sunrpc/rpc_pipe.c | |
parent | 2a4317c55438d8589a015d42912454ede12031f0 (diff) | |
download | op-kernel-dev-b3537c35c21f0e6750aa8bd786949b55509c6d0d.zip op-kernel-dev-b3537c35c21f0e6750aa8bd786949b55509c6d0d.tar.gz |
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 <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r-- | 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 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, + }, }; /* |