mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-08-02 05:50:58 +00:00
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>
5.9 KiB
5.9 KiB