[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)
commit1301809bcee33c2153605b4387c57fab75f9800a
treeba532346e9c4e1700a2f6d80bf04accaf1cdeceb
parentd41bf2f61d564b64aacdb58a911f99d4b413d492
[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