diff options
| author | Sergey Klyaus <[email protected]> | 2014-10-08 07:31:54 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-11-07 19:14:57 +0000 |
| commit | 0cd75047de7f54d6fb4aba0ec5818f8194815a5a (patch) | |
| tree | 32fd93ff2934eef026907e747ee6fe6456785687 /lib/bitmap.c | |
| parent | sysfs/kernfs: make read requests on pre-alloc files use the buffer. (diff) | |
| download | kernel-0cd75047de7f54d6fb4aba0ec5818f8194815a5a.tar.gz kernel-0cd75047de7f54d6fb4aba0ec5818f8194815a5a.zip | |
driver core: fix race with userland in device_add()
bus_add_device() should be called before devtmpfs_create_node(), so when
userland application opens device from devtmpfs, it wouldn't get ENODEV
from kernel, because device_add() wasn't completed.
Signed-off-by: Sergey Klyaus <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
