aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/9p/9p.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/9p.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/9p.h')
-rw-r--r--include/net/9p/9p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h
index ff32091d8063..091b471d8f05 100644
--- a/include/net/9p/9p.h
+++ b/include/net/9p/9p.h
@@ -94,6 +94,8 @@ do { \
94 * @P9_RMKNOD: create a special file object response 94 * @P9_RMKNOD: create a special file object response
95 * @P9_TRENAME: rename request 95 * @P9_TRENAME: rename request
96 * @P9_RRENAME: rename response 96 * @P9_RRENAME: rename response
97 * @P9_TMKDIR: create a directory request
98 * @P9_RMKDIR: create a directory response
97 * @P9_TVERSION: version handshake request 99 * @P9_TVERSION: version handshake request
98 * @P9_RVERSION: version handshake response 100 * @P9_RVERSION: version handshake response
99 * @P9_TAUTH: request to establish authentication channel 101 * @P9_TAUTH: request to establish authentication channel
@@ -149,6 +151,8 @@ enum p9_msg_t {
149 P9_RREADDIR, 151 P9_RREADDIR,
150 P9_TLINK = 70, 152 P9_TLINK = 70,
151 P9_RLINK, 153 P9_RLINK,
154 P9_TMKDIR = 72,
155 P9_RMKDIR,
152 P9_TVERSION = 100, 156 P9_TVERSION = 100,
153 P9_RVERSION, 157 P9_RVERSION,
154 P9_TAUTH = 102, 158 P9_TAUTH = 102,