linux/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
..
bin.c sysfs: skip bin_buffer->buffer while reading 2013-10-05 17:27:40 -07:00
dir.c sysfs: introduce [__]sysfs_remove() 2013-10-03 16:38:52 -07:00
file.c sysfs: use seq_file when reading regular files 2013-10-05 17:21:03 -07:00
group.c sysfs: introduce [__]sysfs_remove() 2013-10-03 16:38:52 -07:00
inode.c sysfs: introduce [__]sysfs_remove() 2013-10-03 16:38:52 -07:00
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile
mount.c sysfs: drop kobj_ns_type handling 2013-09-26 15:30:22 -07:00
symlink.c sysfs: remove sysfs_addrm_cxt->parent_sd 2013-10-03 16:16:43 -07:00
sysfs.h sysfs: introduce [__]sysfs_remove() 2013-10-03 16:38:52 -07:00