From: Jeremy Fitzhardinge Date: Wed, 25 Aug 2010 19:19:53 +0000 (-0700) Subject: xenfs/xenbus: report partial reads/writes correctly X-Git-Tag: v2.6.38-rc2~22^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb27cfbcbd2865b0e731c4aae47df71778da805e;p=pandora-kernel.git xenfs/xenbus: report partial reads/writes correctly copy_(to|from)_user return the number of uncopied bytes, so a successful return is 0, and any non-zero result indicates some degree of failure. Reported-by: "Jun Zhu (Intern)" Signed-off-by: Jeremy Fitzhardinge --- Reading git-diff-tree failed