sunrpc: create nfsd dir in rpc_pipefs
authorJeff Layton <jlayton@redhat.com>
Wed, 21 Mar 2012 13:52:04 +0000 (09:52 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 26 Mar 2012 15:49:47 +0000 (11:49 -0400)
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>

net/sunrpc/rpc_pipe.c

index 8584ec0..e651e1b 100644 (file)
@@ -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,
+       },
 };
 
 /*