Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294432
b: refs/heads/master
c: 080b794
h: refs/heads/master
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Feb 1, 2012
1 parent 411bf88 commit 6a7c2e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6eac7d3f45a2519283d38bf670cb6968230124f8
refs/heads/master: 080b794ce5ad318ce34c52abaedf1bc6788a5abb
4 changes: 2 additions & 2 deletions trunk/include/linux/sunrpc/clnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ struct rpc_clnt {
*/
#define RPC_MAXVERSION 4
struct rpc_program {
char * name; /* protocol name */
const char * name; /* protocol name */
u32 number; /* program number */
unsigned int nrvers; /* number of versions */
struct rpc_version ** version; /* version array */
struct rpc_stat * stats; /* statistics */
char * pipe_dir_name; /* path to rpc_pipefs dir */
const char * pipe_dir_name; /* path to rpc_pipefs dir */
};

struct rpc_version {
Expand Down
5 changes: 3 additions & 2 deletions trunk/net/sunrpc/clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 6a7c2e5

Please sign in to comment.