Files
android_kernel_xiaomi_sm8450/fs/sysfs
Tejun Heo 91270162bf sysfs: skip bin_buffer->buffer while reading
After b31ca3f5df ("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 <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-05 17:27:40 -07:00
..
2013-10-03 16:38:52 -07:00
2013-10-03 16:38:52 -07:00
2013-10-03 16:38:52 -07:00
2005-04-16 15:20:36 -07:00
2013-09-26 15:30:22 -07:00
2013-10-03 16:38:52 -07:00