Kevin Wolf <kw...@redhat.com> writes: > Am 03.08.2011 15:07, schrieb Markus Armbruster: >> Signed-off-by: Markus Armbruster <arm...@redhat.com> >> --- >> block.c | 8 ++++---- >> block.h | 2 +- >> block/raw-posix.c | 8 ++++---- >> block/raw.c | 6 +++--- >> block_int.h | 2 +- >> hw/ide/atapi.c | 2 +- >> hw/scsi-disk.c | 2 +- >> trace-events | 2 +- >> 8 files changed, 16 insertions(+), 16 deletions(-) >> >> diff --git a/block.c b/block.c >> index 3a8a4e6..10c1b1a 100644 >> --- a/block.c >> +++ b/block.c >> @@ -3037,14 +3037,14 @@ void bdrv_eject(BlockDriverState *bs, int eject_flag) >> * Lock or unlock the media (if it is locked, the user won't be able >> * to eject it manually). >> */ >> -void bdrv_set_locked(BlockDriverState *bs, int locked) >> +void bdrv_lock_medium(BlockDriverState *bs, int locked) > > Make locked a bool while we're changing the signature everywhere?
Good idea.