diff options
author | Latchesar Ionkov <lucho@ionkov.net> | 2009-04-05 16:22:16 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@vTrogdor.(none)> | 2009-04-05 16:54:52 -0500 |
commit | 453ed90d1395a5281a8f1a0de5d8aabc66202e34 (patch) | |
tree | dca5c43212ec89988a9367dec12f4d43bc45c5c9 /lib/ts_fsm.c | |
parent | b4348f32dae3cb6eb4bc21c7ed8f76c0b11e9d6a (diff) |
net/9p: set correct stat size when sending Twstat messages
The 9P2000 Twstat message requires the size of the stat structure to be
specified. Currently the 9p code writes zero instead of the actual size.
This behavior confuses some of the file servers that check if the size is
correct.
This patch adds a new function that calculcates the stat size and puts the
value in the appropriate place in the 9P message.
Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Reviewed-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions