kernel_optimize_test/net/9p
Latchesar Ionkov 453ed90d13 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>
2009-04-05 16:54:52 -05:00
..
client.c net/9p: set correct stat size when sending Twstat messages 2009-04-05 16:54:52 -05:00
error.c 9p: make cryptic unknown error from server less scary 2008-05-14 19:23:26 -05:00
Kconfig 9p: disallow RDMA if RDMA CM isn't available 2009-01-15 16:39:42 -08:00
Makefile 9p: rdma: RDMA Transport Support for 9P 2008-10-22 18:47:39 -05:00
mod.c 9p: consolidate transport structure 2008-10-17 11:04:41 -05:00
protocol.c 9p: fix endian issues [attempt 3] 2009-02-06 22:07:41 -08:00
protocol.h 9p: rework client code to use new protocol support functions 2008-10-17 11:04:45 -05:00
trans_fd.c 9p: fix sparse warning: cast adds address space 2009-02-26 23:13:32 -08:00
trans_rdma.c net: remove redundant argument comments 2008-11-21 17:15:03 -08:00
trans_virtio.c 9p: make rpc code common and rework flush code 2008-10-17 11:04:42 -05:00
util.c 9p: rework client code to use new protocol support functions 2008-10-17 11:04:45 -05:00