summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@fys.uio.no>2003-01-14 18:12:10 -0800
committerTrond Myklebust <trond.myklebust@fys.uio.no>2003-01-14 18:12:10 -0800
commiteec91b486e095dd123396eae17b6d2e61c8f31dc (patch)
treedd309b7b631797db6f27649d1c24b057df6cf44e
parent8dffd7300083445b265ec2c4549de42ca8c1010d (diff)
[PATCH] Fix NFS root mount handling
-rw-r--r--net/sunrpc/rpc_pipe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index db2940bdb673..0f906e481ea2 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -324,6 +324,7 @@ static struct file_operations rpc_info_operations = {
enum {
RPCAUTH_Root = 1,
RPCAUTH_lockd,
+ RPCAUTH_mount,
RPCAUTH_nfs,
RPCAUTH_portmap,
RPCAUTH_statd,
@@ -344,6 +345,10 @@ static struct rpc_filelist files[] = {
.name = "lockd",
.mode = S_IFDIR | S_IRUGO | S_IXUGO,
},
+ [RPCAUTH_mount] = {
+ .name = "mount",
+ .mode = S_IFDIR | S_IRUGO | S_IXUGO,
+ },
[RPCAUTH_nfs] = {
.name = "nfs",
.mode = S_IFDIR | S_IRUGO | S_IXUGO,