From: Greg Kroah-Hartman Date: Tue, 20 Jan 2009 23:51:16 +0000 (-0800) Subject: sysfs: fix problems with binary files X-Git-Tag: v2.6.29-rc3~28^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4503efd0891c40e30928afb4b23dc3f99c62a6b2;p=pandora-kernel.git sysfs: fix problems with binary files Some sysfs binary files don't like having 0 passed to them as a size. Fix this up at the root by just returning to the vfs if userspace asks us for a zero sized buffer. Thanks to Pavel Roskin for pointing this out. Reported-by: Pavel Roskin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed