Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc final vfs updates from Al Viro: "A few unrelated patches that got beating in -next. Everything else will have to go into the next window ;-/" * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: hfs: fix hfs_readdir() selftest for default_file_splice_read() infoleak 9p: constify ->d_name handling
This commit is contained in:
@@ -1101,7 +1101,7 @@ void p9_client_begin_disconnect(struct p9_client *clnt)
|
||||
EXPORT_SYMBOL(p9_client_begin_disconnect);
|
||||
|
||||
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)
|
||||
{
|
||||
int err = 0;
|
||||
struct p9_req_t *req;
|
||||
@@ -1149,7 +1149,7 @@ error:
|
||||
EXPORT_SYMBOL(p9_client_attach);
|
||||
|
||||
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 err;
|
||||
struct p9_client *clnt;
|
||||
@@ -1271,7 +1271,7 @@ error:
|
||||
}
|
||||
EXPORT_SYMBOL(p9_client_open);
|
||||
|
||||
int p9_client_create_dotl(struct p9_fid *ofid, char *name, u32 flags, u32 mode,
|
||||
int p9_client_create_dotl(struct p9_fid *ofid, const char *name, u32 flags, u32 mode,
|
||||
kgid_t gid, struct p9_qid *qid)
|
||||
{
|
||||
int err = 0;
|
||||
@@ -1316,7 +1316,7 @@ error:
|
||||
}
|
||||
EXPORT_SYMBOL(p9_client_create_dotl);
|
||||
|
||||
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 err;
|
||||
@@ -1361,8 +1361,8 @@ error:
|
||||
}
|
||||
EXPORT_SYMBOL(p9_client_fcreate);
|
||||
|
||||
int p9_client_symlink(struct p9_fid *dfid, char *name, char *symtgt, kgid_t gid,
|
||||
struct p9_qid *qid)
|
||||
int p9_client_symlink(struct p9_fid *dfid, const char *name,
|
||||
const char *symtgt, kgid_t gid, struct p9_qid *qid)
|
||||
{
|
||||
int err = 0;
|
||||
struct p9_client *clnt;
|
||||
@@ -1395,7 +1395,7 @@ error:
|
||||
}
|
||||
EXPORT_SYMBOL(p9_client_symlink);
|
||||
|
||||
int p9_client_link(struct p9_fid *dfid, struct p9_fid *oldfid, char *newname)
|
||||
int p9_client_link(struct p9_fid *dfid, struct p9_fid *oldfid, const char *newname)
|
||||
{
|
||||
struct p9_client *clnt;
|
||||
struct p9_req_t *req;
|
||||
@@ -2117,7 +2117,7 @@ error:
|
||||
}
|
||||
EXPORT_SYMBOL(p9_client_readdir);
|
||||
|
||||
int p9_client_mknod_dotl(struct p9_fid *fid, char *name, int mode,
|
||||
int p9_client_mknod_dotl(struct p9_fid *fid, const char *name, int mode,
|
||||
dev_t rdev, kgid_t gid, struct p9_qid *qid)
|
||||
{
|
||||
int err;
|
||||
@@ -2148,7 +2148,7 @@ error:
|
||||
}
|
||||
EXPORT_SYMBOL(p9_client_mknod_dotl);
|
||||
|
||||
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 *qid)
|
||||
{
|
||||
int err;
|
||||
|
Reference in New Issue
Block a user