]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] dasd: send change uevents for dasd block devices
authorStefan Weinhuber <wein@de.ibm.com>
Fri, 9 Jan 2009 11:14:50 +0000 (12:14 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 9 Jan 2009 11:15:05 +0000 (12:15 +0100)
commit73d8f89d802b513b38c4274a83f2be56134538fc
treeba532346e9c4e1700a2f6d80bf04accaf1cdeceb
parent4f84655b61f93b148dbaa16f30211a8fb72f2836
[S390] dasd: send change uevents for dasd block devices

When a DASD device enters or leaves the 'online' state we need to
trigger change events for the respective disk and partitions.
These extra events are needed because when disk and partitions are
first added, udev rules that try to read disk labels or other data
may fail as the disk may not yet be ready.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c