Skip to content

Commit

Permalink
[net/9p] Assign type of transaction to tc->pdu->id which is otherwise…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Venkateswararao Jujjuri (JV) authored and Eric Van Hensbergen committed Mar 15, 2011
1 parent 022cae3 commit 9bb6c10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/9p/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ EXPORT_SYMBOL(p9stat_read);

int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type)
{
pdu->id = type;
return p9pdu_writef(pdu, 0, "dbw", 0, type, tag);
}

Expand Down

0 comments on commit 9bb6c10

Please sign in to comment.