[PATCH] sysfs: zero terminate sysfs write buffers
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 31 Mar 2006 23:37:06 +0000 (15:37 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 2 Apr 2006 20:03:31 +0000 (13:03 -0700)
No one should be writing a PAGE_SIZE worth of data to a normal sysfs
file, so properly terminate the buffer.

Thanks to Al Viro for pointing out my supidity here.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found