]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] dm: add uevent change event on resume
authorHannes Reinecke <hare@suse.de>
Tue, 3 Oct 2006 08:15:35 +0000 (01:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:15 +0000 (08:04 -0700)
commit8560ed6fa8d43537af558514fa48f670b3349f08
treee5efdfbba841c3f4c4a485ba4e39a3117c75acdc
parente69fae561f422f7f9dbda19f448633aa6564663e
[PATCH] dm: add uevent change event on resume

Device-mapper devices are not accessible until a 'resume' ioctl has been
issued.  For userspace to find out when this happens we need to generate an
uevent for udev to take appropriate action.

As discussed at OLS we should send 'change' events for 'resume'.  We can think
of no useful purpose served by also having 'suspend' events.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm.c