aboutsummaryrefslogtreecommitdiffstats
path: root/net/9p
diff options
context:
space:
mode:
authorVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>2011-02-02 20:52:46 -0500
committerEric Van Hensbergen <ericvh@gmail.com>2011-03-15 10:57:34 -0400
commit9bb6c10a4ed48aef49a7243a6f798694722cf380 (patch)
tree8dc777ffee7f38513004a918589367a2f6117652 /net/9p
parent022cae36551ba805bf82084047945b2901d75f36 (diff)
[net/9p] Assign type of transaction to tc->pdu->id which is otherwise unsed.
This will be used by the transport layer to determine the out going request type. Transport layer uses this information to correctly place the mapped pages in the PDU. Patches following this will make use of this to achieve zero copy. Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p')
-rw-r--r--net/9p/protocol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/9p/protocol.c b/net/9p/protocol.c
index d888847db56e..5936c50d0c93 100644
--- a/net/9p/protocol.c
+++ b/net/9p/protocol.c
@@ -579,6 +579,7 @@ EXPORT_SYMBOL(p9stat_read);
579 579
580int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type) 580int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type)
581{ 581{
582 pdu->id = type;
582 return p9pdu_writef(pdu, 0, "dbw", 0, type, tag); 583 return p9pdu_writef(pdu, 0, "dbw", 0, type, tag);
583} 584}
584 585