android_kernel_xiaomi_sm8350/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
Kconfig 9p: disallow RDMA if RDMA CM isn't available 2009-01-15 16:39:42 -08:00
Makefile
mod.c
protocol.c 9p: fix endian issues [attempt 3] 2009-02-06 22:07:41 -08:00
protocol.h
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
util.c