]> git.ipfire.org Git - people/ms/linux.git/commit
dm ioctl: only issue uevent on resume if state changed
authorMike Snitzer <snitzer@redhat.com>
Sat, 6 Mar 2010 02:32:24 +0000 (02:32 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 16:07:08 +0000 (09:07 -0700)
commit6c46bff05fb1889ff5581dcd7274db69fd4a4da3
tree63c64d2ba874db5de8a16097276bb568a4c10101
parentf64089821be953b9b5b5ff49172780c929786614
dm ioctl: only issue uevent on resume if state changed

commit 0f3649a9e305ea22eb196a84a2d7520afcaa6060 upstream.

Only issue a uevent on a resume if the state of the device changed,
i.e. if it was suspended and/or its table was replaced.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-ioctl.c