aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-20 13:53:56 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-31 19:28:20 -0500
commit080b794ce5ad318ce34c52abaedf1bc6788a5abb (patch)
treef44c01823db805ae30e866d458dc5c6f7002750a /net/sunrpc
parentSUNRPC: constify rpc_clnt fields cl_server and cl_protname (diff)
downloadlinux-dev-080b794ce5ad318ce34c52abaedf1bc6788a5abb.tar.xz
linux-dev-080b794ce5ad318ce34c52abaedf1bc6788a5abb.zip
SUNRPC: constify rpc_program->name
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/clnt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index e9b22e8e16c7..1b2317fa4043 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -118,7 +118,8 @@ static void rpc_clnt_remove_pipedir(struct rpc_clnt *clnt)
}
static struct dentry *rpc_setup_pipedir_sb(struct super_block *sb,
- struct rpc_clnt *clnt, char *dir_name)
+ struct rpc_clnt *clnt,
+ const char *dir_name)
{
static uint32_t clntid;
char name[15];
@@ -151,7 +152,7 @@ static struct dentry *rpc_setup_pipedir_sb(struct super_block *sb,
}
static int
-rpc_setup_pipedir(struct rpc_clnt *clnt, char *dir_name)
+rpc_setup_pipedir(struct rpc_clnt *clnt, const char *dir_name)
{
struct super_block *pipefs_sb;
struct dentry *dentry;