diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/9p/9p.h | 4 | ||||
-rw-r--r-- | include/net/9p/client.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index 44a6883d7144..ff32091d8063 100644 --- a/include/net/9p/9p.h +++ b/include/net/9p/9p.h | |||
@@ -90,6 +90,8 @@ do { \ | |||
90 | * @P9_RSTATFS: file system status response | 90 | * @P9_RSTATFS: file system status response |
91 | * @P9_TSYMLINK: make symlink request | 91 | * @P9_TSYMLINK: make symlink request |
92 | * @P9_RSYMLINK: make symlink response | 92 | * @P9_RSYMLINK: make symlink response |
93 | * @P9_TMKNOD: create a special file object request | ||
94 | * @P9_RMKNOD: create a special file object response | ||
93 | * @P9_TRENAME: rename request | 95 | * @P9_TRENAME: rename request |
94 | * @P9_RRENAME: rename response | 96 | * @P9_RRENAME: rename response |
95 | * @P9_TVERSION: version handshake request | 97 | * @P9_TVERSION: version handshake request |
@@ -135,6 +137,8 @@ enum p9_msg_t { | |||
135 | P9_RSTATFS, | 137 | P9_RSTATFS, |
136 | P9_TSYMLINK = 16, | 138 | P9_TSYMLINK = 16, |
137 | P9_RSYMLINK, | 139 | P9_RSYMLINK, |
140 | P9_TMKNOD = 18, | ||
141 | P9_RMKNOD, | ||
138 | P9_TRENAME = 20, | 142 | P9_TRENAME = 20, |
139 | P9_RRENAME, | 143 | P9_RRENAME, |
140 | P9_TGETATTR = 24, | 144 | P9_TGETATTR = 24, |
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); | |||
245 | struct p9_stat_dotl *p9_client_getattr_dotl(struct p9_fid *fid, | 245 | struct p9_stat_dotl *p9_client_getattr_dotl(struct p9_fid *fid, |
246 | u64 request_mask); | 246 | u64 request_mask); |
247 | 247 | ||
248 | int p9_client_mknod_dotl(struct p9_fid *oldfid, char *name, int mode, | ||
249 | dev_t rdev, gid_t gid, struct p9_qid *); | ||
248 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); | 250 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); |
249 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req); | 251 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req); |
250 | 252 | ||