From: Latchesar Ionkov Date: Sun, 5 Apr 2009 21:22:16 +0000 (-0500) Subject: net/9p: set correct stat size when sending Twstat messages X-Git-Tag: v2.6.30-rc5~42^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=453ed90d1395a5281a8f1a0de5d8aabc66202e34;p=pandora-kernel.git 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 Reviewed-by: Eric Van Hensbergen --- Reading git-diff-tree failed