]> bbs.cooldavid.org Git - net-next-2.6.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)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 6 Mar 2010 02:32:24 +0000 (02:32 +0000)
commit0f3649a9e305ea22eb196a84a2d7520afcaa6060
tree10e5c845bcb2af0c5d9a7d79b231474983500a60
parentede5ea0b8b815560dc54c712536fdf0b456b6ad0
dm ioctl: only issue uevent on resume if state changed

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>
Cc: stable@kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c