diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-20 13:53:56 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 19:28:20 -0500 |
commit | 080b794ce5ad318ce34c52abaedf1bc6788a5abb (patch) | |
tree | f44c01823db805ae30e866d458dc5c6f7002750a /net/sunrpc | |
parent | 6eac7d3f45a2519283d38bf670cb6968230124f8 (diff) |
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.c | 5 |
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) | |||
118 | } | 118 | } |
119 | 119 | ||
120 | static struct dentry *rpc_setup_pipedir_sb(struct super_block *sb, | 120 | static struct dentry *rpc_setup_pipedir_sb(struct super_block *sb, |
121 | struct rpc_clnt *clnt, char *dir_name) | 121 | struct rpc_clnt *clnt, |
122 | const char *dir_name) | ||
122 | { | 123 | { |
123 | static uint32_t clntid; | 124 | static uint32_t clntid; |
124 | char name[15]; | 125 | char name[15]; |
@@ -151,7 +152,7 @@ static struct dentry *rpc_setup_pipedir_sb(struct super_block *sb, | |||
151 | } | 152 | } |
152 | 153 | ||
153 | static int | 154 | static int |
154 | rpc_setup_pipedir(struct rpc_clnt *clnt, char *dir_name) | 155 | rpc_setup_pipedir(struct rpc_clnt *clnt, const char *dir_name) |
155 | { | 156 | { |
156 | struct super_block *pipefs_sb; | 157 | struct super_block *pipefs_sb; |
157 | struct dentry *dentry; | 158 | struct dentry *dentry; |