aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/9p/client.h
diff options
context:
space:
mode:
authorM. Mohan Kumar <mohan@in.ibm.com>2010-06-16 04:57:22 -0400
committerEric Van Hensbergen <ericvh@gmail.com>2010-08-02 15:28:31 -0400
commit01a622bd7409bb7af38e784cff814e5e723f7951 (patch)
tree1b6e0d9806e560d7f89e0efa8981cfba4c213361 /include/net/9p/client.h
parent4b43516ab19b748b48322937fd9307af17541c4d (diff)
9p: Implement TMKDIR
Implement TMKDIR as part of 2000.L Work Synopsis size[4] Tmkdir tag[2] fid[4] name[s] mode[4] gid[4] size[4] Rmkdir tag[2] qid[13] Description mkdir asks the file server to create a directory with given name, mode and gid. The qid for the new directory is returned with the mkdir reply message. Note: 72 is selected as the opcode for TMKDIR from the reserved list. Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p/client.h')
-rw-r--r--include/net/9p/client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h
index 6e70358c71d9..55d913a9b797 100644
--- a/include/net/9p/client.h
+++ b/include/net/9p/client.h
@@ -247,6 +247,8 @@ struct p9_stat_dotl *p9_client_getattr_dotl(struct p9_fid *fid,
247 247
248int p9_client_mknod_dotl(struct p9_fid *oldfid, char *name, int mode, 248int p9_client_mknod_dotl(struct p9_fid *oldfid, char *name, int mode,
249 dev_t rdev, gid_t gid, struct p9_qid *); 249 dev_t rdev, gid_t gid, struct p9_qid *);
250int p9_client_mkdir_dotl(struct p9_fid *fid, char *name, int mode,
251 gid_t gid, struct p9_qid *);
250struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); 252struct p9_req_t *p9_tag_lookup(struct p9_client *, u16);
251void p9_client_cb(struct p9_client *c, struct p9_req_t *req); 253void p9_client_cb(struct p9_client *c, struct p9_req_t *req);
252 254