From: Greg Kroah-Hartman Date: Fri, 31 Mar 2006 23:37:06 +0000 (-0800) Subject: [PATCH] sysfs: zero terminate sysfs write buffers X-Git-Tag: v2.6.17-rc1~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e0dd741a89be35defa05bd79f4211c5a2762825;p=pandora-kernel.git [PATCH] sysfs: zero terminate sysfs write buffers 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed