From eec91b486e095dd123396eae17b6d2e61c8f31dc Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Tue, 14 Jan 2003 18:12:10 -0800 Subject: [PATCH] Fix NFS root mount handling --- net/sunrpc/rpc_pipe.c | 5 +++++ 1 file changed, 5 insertions(+) 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, -- cgit v1.2.3