Received: from eggs.gnu.org ([140.186.70.92]:52887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzVCh-00025t-RP for qemu-devel@nongnu.org; Fri, 02 Sep 2011 10:58:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzVCg-0002LN-Uh for qemu-devel@nongnu.org; Fri, 02 Sep 2011 10:58:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzVCg-0002LG-Ld for qemu-devel@nongnu.org; Fri, 02 Sep 2011 10:58:46 -0400 From: Markus Armbruster References: <1312376904-16115-1-git-send-email-armbru@redhat.com> <1312376904-16115-20-git-send-email-armbru@redhat.com> <4E60BE55.2080803@redhat.com> Date: Fri, 02 Sep 2011 16:58:40 +0200 In-Reply-To: <4E60BE55.2080803@redhat.com> (Kevin Wolf's message of "Fri, 02 Sep 2011 13:30:29 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH v2 19/45] block: Rename bdrv_set_locked() to bdrv_lock_medium() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: stefano.stabellini@eu.citrix.com, quintela@redhat.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, hare@suse.de, amit.shah@redhat.com, hch@lst.de Kevin Wolf writes: > Am 03.08.2011 15:07, schrieb Markus Armbruster: >> Signed-off-by: Markus Armbruster >> --- >> 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.