From: Latchesar Ionkov Date: Sun, 5 Apr 2009 21:26:41 +0000 (-0500) Subject: net/9p: return error when p9_client_stat fails X-Git-Tag: v2.6.30-rc5~42^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=742b11a7ec60faa25d76c95c268041ab215c25ad;p=pandora-kernel.git net/9p: return error when p9_client_stat fails p9_client_stat function doesn't return correct value if it fails. p9_client_stat should return ERR_PTR of the error value when it fails. Instead, it always returns a value to the allocated p9_wstat struct even when it is not populated correctly. This patch makes p9_client_stat to handle failure correctly. Signed-off-by: Latchesar Ionkov Reviewed-by: Eric Van Hensbergen --- Reading git-diff-tree failed