Revision 822e1cd1
ID | 822e1cd17e8fa3ae98d0481c20f042316ace3fbc |
block: Make BlockDriver method bdrv_eject() return void
Callees always return 0, except for FreeBSD's cdrom_eject(), which
returns -ENOTSUP when the device is in a terminally wedged state.
The only caller is bdrv_eject(), and it maps -ENOTSUP to 0 since
commit 4be9762a.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted
- block
- raw-posix.c (diff)
- raw.c (diff)
- block.c (diff)
- block_int.h (diff)