summaryrefslogtreecommitdiffstats
path: root/ui/common
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2015-12-18 11:15:01 +1100
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2015-12-18 11:15:01 +1100
commite6ba022cef0ab01bcfbd5ce2e0e3f93f6ee3376b (patch)
tree0ed4c78aad2c67321adc70321a9cddcd8a7d57c9 /ui/common
parentc9c964c8c03c766d94d4798231d6e3db191c57df (diff)
downloadtalos-petitboot-e6ba022cef0ab01bcfbd5ce2e0e3f93f6ee3376b.tar.gz
talos-petitboot-e6ba022cef0ab01bcfbd5ce2e0e3f93f6ee3376b.zip
discover: Fix dead code in udev_handle_cdrom_events()
The check against ddev->mounted to cause an eject action is logically impossible. Change it so a cdrom_eject() is called properly. Change the return value to 'true' for any action caused by DISK_EJECT_REQUEST - no further action is appropriate in this case Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'ui/common')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud