diff options
author | M. Mohan Kumar <mohan@in.ibm.com> | 2010-06-22 10:17:50 -0400 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2010-08-02 15:28:32 -0400 |
commit | ef56547efa3c88609069e2a91f46e25c31dd536e (patch) | |
tree | 802bb98048ae36e59fc0bcaa21bd54e5ebf9de99 /include/net | |
parent | 5643135a28464e7c19d8d23a9e0804697a62c84b (diff) |
9p: Implement LOPEN
Implement 9p2000.L version of open(LOPEN) interface in 9p client.
For LOPEN, no need to convert the flags to and from 9p mode to VFS mode.
Synopsis:
size[4] Tlopen tag[2] fid[4] mode[4]
size[4] Rlopen tag[2] qid[13] iounit[4]
[Fix mode bit format - jvrao@linux.vnet.ibm.com]
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 Hensbegren <ericvh@gmail.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/9p/9p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index 06d111d61038..cf580a40e299 100644 --- a/include/net/9p/9p.h +++ b/include/net/9p/9p.h | |||
@@ -139,6 +139,8 @@ do { \ | |||
139 | enum p9_msg_t { | 139 | enum p9_msg_t { |
140 | P9_TSTATFS = 8, | 140 | P9_TSTATFS = 8, |
141 | P9_RSTATFS, | 141 | P9_RSTATFS, |
142 | P9_TLOPEN = 12, | ||
143 | P9_RLOPEN, | ||
142 | P9_TLCREATE = 14, | 144 | P9_TLCREATE = 14, |
143 | P9_RLCREATE, | 145 | P9_RLCREATE, |
144 | P9_TSYMLINK = 16, | 146 | P9_TSYMLINK = 16, |