]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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>
Sun, 6 Sep 2015 03:00:14 +0000 (22:00 -0500)
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>

No differences found