]> git.baikalelectronics.ru Git - kernel.git/commit
bluetooth: fix race in bt_procfs_init()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 4 Apr 2013 23:16:06 +0000 (19:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:13:36 +0000 (14:13 -0400)
commit605ed4457c75e5cd5d704a2cd94d54fa7c4fcb90
tree296c5d8c50ec3ddd32ca196159158c3f2431864a
parentcdc9ca5a9c07d30bd8f12f444503b682f4ac2b88
bluetooth: fix race in bt_procfs_init()

use proc_create_data() rather than set ->data after the file has
been created

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/bluetooth/af_bluetooth.c