mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
block: Rename bdrv_set_locked() to bdrv_lock_medium()
While there, make the locked parameter bool. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
f107639a6f
commit
025e849a50
8 changed files with 16 additions and 16 deletions
|
@ -120,7 +120,7 @@ struct BlockDriver {
|
|||
int (*bdrv_is_inserted)(BlockDriverState *bs);
|
||||
int (*bdrv_media_changed)(BlockDriverState *bs);
|
||||
void (*bdrv_eject)(BlockDriverState *bs, int eject_flag);
|
||||
void (*bdrv_set_locked)(BlockDriverState *bs, int locked);
|
||||
void (*bdrv_lock_medium)(BlockDriverState *bs, bool locked);
|
||||
|
||||
/* to control generic scsi devices */
|
||||
int (*bdrv_ioctl)(BlockDriverState *bs, unsigned long int req, void *buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue