-
由 Michal Schmidt 提交于
A successful write() to the "reset" sysfs attribute should return the number of bytes written, not 0. Otherwise userspace (bash) retries the write over and over again. Acked-by: NMichael S. Tsirkin <mst@redhat.com> Acked-by: NGreg Kroah-Hartman <gregkh@suse.de> Signed-off-by: NMichal Schmidt <mschmidt@redhat.com> Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
447c5dd7