diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-04 00:44:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-04 00:44:35 -0500 |
commit | 0710f3ff91ecc4a715db6e4d0690472b13c4dac6 (patch) | |
tree | bb103c5b2248a5f4e8cf78e76d1d07ffdc2a4aeb /net | |
parent | a3b4924b027f9a4b95ce89a914c1e0459e76f18a (diff) | |
parent | eec11535ca3d3e2daa2c8f59fa8ce1963db98abd (diff) |
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
Diffstat (limited to 'net')
-rw-r--r-- | net/9p/client.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index 25cfd8a4bc36..3ce672af1596 100644 --- a/net/9p/client.c +++ b/net/9p/client.c | |||
@@ -1101,7 +1101,7 @@ void p9_client_begin_disconnect(struct p9_client *clnt) | |||
1101 | EXPORT_SYMBOL(p9_client_begin_disconnect); | 1101 | EXPORT_SYMBOL(p9_client_begin_disconnect); |
1102 | 1102 | ||
1103 | struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid, | 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 | int err = 0; | 1106 | int err = 0; |
1107 | struct p9_req_t *req; | 1107 | struct p9_req_t *req; |
@@ -1149,7 +1149,7 @@ error: | |||
1149 | EXPORT_SYMBOL(p9_client_attach); | 1149 | EXPORT_SYMBOL(p9_client_attach); |
1150 | 1150 | ||
1151 | struct p9_fid *p9_client_walk(struct p9_fid *oldfid, uint16_t nwname, | 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 | int err; | 1154 | int err; |
1155 | struct p9_client *clnt; | 1155 | struct p9_client *clnt; |
@@ -1271,7 +1271,7 @@ error: | |||
1271 | } | 1271 | } |
1272 | EXPORT_SYMBOL(p9_client_open); | 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 | kgid_t gid, struct p9_qid *qid) | 1275 | kgid_t gid, struct p9_qid *qid) |
1276 | { | 1276 | { |
1277 | int err = 0; | 1277 | int err = 0; |
@@ -1316,7 +1316,7 @@ error: | |||
1316 | } | 1316 | } |
1317 | EXPORT_SYMBOL(p9_client_create_dotl); | 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 | char *extension) | 1320 | char *extension) |
1321 | { | 1321 | { |
1322 | int err; | 1322 | int err; |
@@ -1361,8 +1361,8 @@ error: | |||
1361 | } | 1361 | } |
1362 | EXPORT_SYMBOL(p9_client_fcreate); | 1362 | EXPORT_SYMBOL(p9_client_fcreate); |
1363 | 1363 | ||
1364 | int p9_client_symlink(struct p9_fid *dfid, char *name, char *symtgt, kgid_t gid, | 1364 | int p9_client_symlink(struct p9_fid *dfid, const char *name, |
1365 | struct p9_qid *qid) | 1365 | const char *symtgt, kgid_t gid, struct p9_qid *qid) |
1366 | { | 1366 | { |
1367 | int err = 0; | 1367 | int err = 0; |
1368 | struct p9_client *clnt; | 1368 | struct p9_client *clnt; |
@@ -1395,7 +1395,7 @@ error: | |||
1395 | } | 1395 | } |
1396 | EXPORT_SYMBOL(p9_client_symlink); | 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 | struct p9_client *clnt; | 1400 | struct p9_client *clnt; |
1401 | struct p9_req_t *req; | 1401 | struct p9_req_t *req; |
@@ -2117,7 +2117,7 @@ error: | |||
2117 | } | 2117 | } |
2118 | EXPORT_SYMBOL(p9_client_readdir); | 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 | dev_t rdev, kgid_t gid, struct p9_qid *qid) | 2121 | dev_t rdev, kgid_t gid, struct p9_qid *qid) |
2122 | { | 2122 | { |
2123 | int err; | 2123 | int err; |
@@ -2148,7 +2148,7 @@ error: | |||
2148 | } | 2148 | } |
2149 | EXPORT_SYMBOL(p9_client_mknod_dotl); | 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 | kgid_t gid, struct p9_qid *qid) | 2152 | kgid_t gid, struct p9_qid *qid) |
2153 | { | 2153 | { |
2154 | int err; | 2154 | int err; |