@@ -1101,7 +1101,7 @@ void p9_client_begin_disconnect(struct p9_client *clnt)
1101
1101
EXPORT_SYMBOL (p9_client_begin_disconnect );
1102
1102
1103
1103
struct p9_fid * p9_client_attach (struct p9_client * clnt , struct p9_fid * afid ,
1104
- char * uname , kuid_t n_uname , char * aname )
1104
+ const char * uname , kuid_t n_uname , const char * aname )
1105
1105
{
1106
1106
int err = 0 ;
1107
1107
struct p9_req_t * req ;
@@ -1149,7 +1149,7 @@ struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
1149
1149
EXPORT_SYMBOL (p9_client_attach );
1150
1150
1151
1151
struct p9_fid * p9_client_walk (struct p9_fid * oldfid , uint16_t nwname ,
1152
- char * * wnames , int clone )
1152
+ const unsigned char * const * wnames , int clone )
1153
1153
{
1154
1154
int err ;
1155
1155
struct p9_client * clnt ;
@@ -1271,7 +1271,7 @@ int p9_client_open(struct p9_fid *fid, int mode)
1271
1271
}
1272
1272
EXPORT_SYMBOL (p9_client_open );
1273
1273
1274
- int p9_client_create_dotl (struct p9_fid * ofid , char * name , u32 flags , u32 mode ,
1274
+ int p9_client_create_dotl (struct p9_fid * ofid , const char * name , u32 flags , u32 mode ,
1275
1275
kgid_t gid , struct p9_qid * qid )
1276
1276
{
1277
1277
int err = 0 ;
@@ -1316,7 +1316,7 @@ int p9_client_create_dotl(struct p9_fid *ofid, char *name, u32 flags, u32 mode,
1316
1316
}
1317
1317
EXPORT_SYMBOL (p9_client_create_dotl );
1318
1318
1319
- int p9_client_fcreate (struct p9_fid * fid , char * name , u32 perm , int mode ,
1319
+ int p9_client_fcreate (struct p9_fid * fid , const char * name , u32 perm , int mode ,
1320
1320
char * extension )
1321
1321
{
1322
1322
int err ;
@@ -1361,8 +1361,8 @@ int p9_client_fcreate(struct p9_fid *fid, char *name, u32 perm, int mode,
1361
1361
}
1362
1362
EXPORT_SYMBOL (p9_client_fcreate );
1363
1363
1364
- int p9_client_symlink (struct p9_fid * dfid , char * name , char * symtgt , kgid_t gid ,
1365
- struct p9_qid * qid )
1364
+ int p9_client_symlink (struct p9_fid * dfid , const char * name ,
1365
+ const char * symtgt , kgid_t gid , struct p9_qid * qid )
1366
1366
{
1367
1367
int err = 0 ;
1368
1368
struct p9_client * clnt ;
@@ -1395,7 +1395,7 @@ int p9_client_symlink(struct p9_fid *dfid, char *name, char *symtgt, kgid_t gid,
1395
1395
}
1396
1396
EXPORT_SYMBOL (p9_client_symlink );
1397
1397
1398
- int p9_client_link (struct p9_fid * dfid , struct p9_fid * oldfid , char * newname )
1398
+ int p9_client_link (struct p9_fid * dfid , struct p9_fid * oldfid , const char * newname )
1399
1399
{
1400
1400
struct p9_client * clnt ;
1401
1401
struct p9_req_t * req ;
@@ -2117,7 +2117,7 @@ int p9_client_readdir(struct p9_fid *fid, char *data, u32 count, u64 offset)
2117
2117
}
2118
2118
EXPORT_SYMBOL (p9_client_readdir );
2119
2119
2120
- int p9_client_mknod_dotl (struct p9_fid * fid , char * name , int mode ,
2120
+ int p9_client_mknod_dotl (struct p9_fid * fid , const char * name , int mode ,
2121
2121
dev_t rdev , kgid_t gid , struct p9_qid * qid )
2122
2122
{
2123
2123
int err ;
@@ -2148,7 +2148,7 @@ int p9_client_mknod_dotl(struct p9_fid *fid, char *name, int mode,
2148
2148
}
2149
2149
EXPORT_SYMBOL (p9_client_mknod_dotl );
2150
2150
2151
- int p9_client_mkdir_dotl (struct p9_fid * fid , char * name , int mode ,
2151
+ int p9_client_mkdir_dotl (struct p9_fid * fid , const char * name , int mode ,
2152
2152
kgid_t gid , struct p9_qid * qid )
2153
2153
{
2154
2154
int err ;
0 commit comments