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:01 -0400
committerEric Van Hensbergen <ericvh@gmail.com>2010-08-02 15:28:30 -0400
commit4b43516ab19b748b48322937fd9307af17541c4d (patch)
tree0ab84e8d69abce9d63e1937b1a807d2243444a01 /include/net/9p/client.h
parent50cc42ff3d7bc48a436c5a0413459ca7841b505f (diff)
9p: Implement TMKNOD
Synopsis size[4] Tmknod tag[2] fid[4] name[s] mode[4] major[4] minor[4] gid[4] size[4] Rmknod tag[2] qid[13] Description mknod asks the file server to create a device node with given major and minor number, mode and gid. The qid for the new device node is returned with the mknod reply message. [sripathik@in.ibm.com: Fix error handling code] 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 2e039730920e..6e70358c71d9 100644
--- a/include/net/9p/client.h
+++ b/include/net/9p/client.h
@@ -245,6 +245,8 @@ int p9_client_setattr(struct p9_fid *fid, struct p9_iattr_dotl *attr);
245struct p9_stat_dotl *p9_client_getattr_dotl(struct p9_fid *fid, 245struct p9_stat_dotl *p9_client_getattr_dotl(struct p9_fid *fid,
246 u64 request_mask); 246 u64 request_mask);
247 247
248int p9_client_mknod_dotl(struct p9_fid *oldfid, char *name, int mode,
249 dev_t rdev, gid_t gid, struct p9_qid *);
248struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); 250struct p9_req_t *p9_tag_lookup(struct p9_client *, u16);
249void p9_client_cb(struct p9_client *c, struct p9_req_t *req); 251void p9_client_cb(struct p9_client *c, struct p9_req_t *req);
250 252