]> asedeno.scripts.mit.edu Git - linux.git/commit
9p: trans_fd, read rework to use p9_parse_header
authorDominique Martinet <dominique.martinet@cea.fr>
Thu, 3 Sep 2015 09:28:20 +0000 (11:28 +0200)
committerEric Van Hensbergen <ericvh@gmail.com>
Sat, 14 Nov 2015 14:12:41 +0000 (08:12 -0600)
commit947867aa195b65471f4767fdf761e3841577f90e
tree3bcccc5dc06567d244b9ebad61ae54461e007317
parentc7c72c5a127507687c737ede0f97d85bde674433
9p: trans_fd, read rework to use p9_parse_header

Most of the changes here are no-op and just renaming to use a
fcall struct, needed for p9_parse_header

It fixes the unaligned memory access to read the tag and defers to
common functions for part of the protocol knowledge (although header
length is still hard-coded...)

Reported-By: Rob Landley <rob@landley.net>
Signed-Off-By: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/trans_fd.c