Luiz Capitulino d88b1819dd block: Don't call bdrv_eject() if the tray state didn't change
It's not needed. Besides we can then assume that bdrv_eject() is
only called when there's a tray state change, which is useful to
the DEVICE_TRAY_MOVED event (going to be added in a future
commit).

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
2012-02-22 17:23:21 -02:00
..
2011-09-21 14:32:20 +02:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-01-27 10:50:49 -06:00
2012-02-15 09:39:21 -06:00
2011-12-15 12:40:08 +01:00
2011-11-24 18:31:59 +02:00
2011-08-08 10:15:54 -05:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00