diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-12-18 11:15:01 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-12-18 11:15:01 +1100 |
commit | e6ba022cef0ab01bcfbd5ce2e0e3f93f6ee3376b (patch) | |
tree | 0ed4c78aad2c67321adc70321a9cddcd8a7d57c9 /configure.ac | |
parent | c9c964c8c03c766d94d4798231d6e3db191c57df (diff) | |
download | petitboot-e6ba022cef0ab01bcfbd5ce2e0e3f93f6ee3376b.zip petitboot-e6ba022cef0ab01bcfbd5ce2e0e3f93f6ee3376b.tar.gz |
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 'configure.ac')
0 files changed, 0 insertions, 0 deletions