commit | 4503efd0891c40e30928afb4b23dc3f99c62a6b2 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jan 20 15:51:16 2009 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jan 20 20:52:09 2009 -0800 |
tree | b92d71b333e30f90b4a91a4e4bea895f5489a6ae | |
parent | 72638f598ec9f05a43fcb22dc1dd8dc34c43acc1 [diff] |
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 <proski@gnu.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>