From: Tejun Heo Date: Tue, 1 Oct 2013 21:42:03 +0000 (-0400) Subject: sysfs: skip bin_buffer->buffer while reading X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~64^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91270162bf8a86bee756da7e931591d9953cb5a8;p=pandora-kernel.git sysfs: skip bin_buffer->buffer while reading After b31ca3f5dfc ("sysfs: fix deadlock"), bin read() first writes data to bb->buffer and bounces it to a transient kernel buffer which is then copied out to userland. The double bouncing doesn't add anything. Let's just use the transient buffer directly. While at it, rename @temp to @buf for clarity. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed