9p: constify ->d_name handling
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@ -223,16 +223,16 @@ void p9_client_destroy(struct p9_client *clnt);
|
||||
void p9_client_disconnect(struct p9_client *clnt);
|
||||
void p9_client_begin_disconnect(struct p9_client *clnt);
|
||||
struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
|
||||
char *uname, kuid_t n_uname, char *aname);
|
||||
const char *uname, kuid_t n_uname, const char *aname);
|
||||
struct p9_fid *p9_client_walk(struct p9_fid *oldfid, uint16_t nwname,
|
||||
char **wnames, int clone);
|
||||
const unsigned char * const *wnames, int clone);
|
||||
int p9_client_open(struct p9_fid *fid, int mode);
|
||||
int p9_client_fcreate(struct p9_fid *fid, char *name, u32 perm, int mode,
|
||||
int p9_client_fcreate(struct p9_fid *fid, const char *name, u32 perm, int mode,
|
||||
char *extension);
|
||||
int p9_client_link(struct p9_fid *fid, struct p9_fid *oldfid, char *newname);
|
||||
int p9_client_symlink(struct p9_fid *fid, char *name, char *symname, kgid_t gid,
|
||||
struct p9_qid *qid);
|
||||
int p9_client_create_dotl(struct p9_fid *ofid, char *name, u32 flags, u32 mode,
|
||||
int p9_client_link(struct p9_fid *fid, struct p9_fid *oldfid, const char *newname);
|
||||
int p9_client_symlink(struct p9_fid *fid, const char *name, const char *symname,
|
||||
kgid_t gid, struct p9_qid *qid);
|
||||
int p9_client_create_dotl(struct p9_fid *ofid, const char *name, u32 flags, u32 mode,
|
||||
kgid_t gid, struct p9_qid *qid);
|
||||
int p9_client_clunk(struct p9_fid *fid);
|
||||
int p9_client_fsync(struct p9_fid *fid, int datasync);
|
||||
@ -250,9 +250,9 @@ int p9_client_setattr(struct p9_fid *fid, struct p9_iattr_dotl *attr);
|
||||
struct p9_stat_dotl *p9_client_getattr_dotl(struct p9_fid *fid,
|
||||
u64 request_mask);
|
||||
|
||||
int p9_client_mknod_dotl(struct p9_fid *oldfid, char *name, int mode,
|
||||
int p9_client_mknod_dotl(struct p9_fid *oldfid, const char *name, int mode,
|
||||
dev_t rdev, kgid_t gid, struct p9_qid *);
|
||||
int p9_client_mkdir_dotl(struct p9_fid *fid, char *name, int mode,
|
||||
int p9_client_mkdir_dotl(struct p9_fid *fid, const char *name, int mode,
|
||||
kgid_t gid, struct p9_qid *);
|
||||
int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status);
|
||||
int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *fl);
|
||||
|
Reference in New Issue
Block a user