Commit eec91b48 authored by Trond Myklebust's avatar Trond Myklebust

[PATCH] Fix NFS root mount handling

parent 8dffd730
...@@ -324,6 +324,7 @@ static struct file_operations rpc_info_operations = { ...@@ -324,6 +324,7 @@ static struct file_operations rpc_info_operations = {
enum { enum {
RPCAUTH_Root = 1, RPCAUTH_Root = 1,
RPCAUTH_lockd, RPCAUTH_lockd,
RPCAUTH_mount,
RPCAUTH_nfs, RPCAUTH_nfs,
RPCAUTH_portmap, RPCAUTH_portmap,
RPCAUTH_statd, RPCAUTH_statd,
...@@ -344,6 +345,10 @@ static struct rpc_filelist files[] = { ...@@ -344,6 +345,10 @@ static struct rpc_filelist files[] = {
.name = "lockd", .name = "lockd",
.mode = S_IFDIR | S_IRUGO | S_IXUGO, .mode = S_IFDIR | S_IRUGO | S_IXUGO,
}, },
[RPCAUTH_mount] = {
.name = "mount",
.mode = S_IFDIR | S_IRUGO | S_IXUGO,
},
[RPCAUTH_nfs] = { [RPCAUTH_nfs] = {
.name = "nfs", .name = "nfs",
.mode = S_IFDIR | S_IRUGO | S_IXUGO, .mode = S_IFDIR | S_IRUGO | S_IXUGO,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment