[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 2/4] block: remove bdrv_media_changed
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v4 2/4] block: remove bdrv_media_changed |
Date: |
Wed, 12 Jul 2017 20:27:42 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/11/2017 11:37 AM, Manos Pitsidianakis wrote:
> This function is not used anywhere, so remove it.
>
> Signed-off-by: Manos Pitsidianakis <address@hidden>
> ---
> block.c | 14 --------------
> block/raw-format.c | 6 ------
> include/block/block.h | 1 -
> include/block/block_int.h | 1 -
> 4 files changed, 22 deletions(-)
>
> +++ b/block/raw-format.c
> @@ -346,11 +346,6 @@ static int raw_truncate(BlockDriverState *bs, int64_t
> offset, Error **errp)
> return bdrv_truncate(bs->file, offset, errp);
> }
>
> -static int raw_media_changed(BlockDriverState *bs)
> -{
> - return bdrv_media_changed(bs->file->bs);
> -}
> -
There's a merge conflict here if this lands after Max's pending block
pull request, but should be trivial to resolve.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
[Qemu-devel] [PATCH v4 3/4] block: remove bdrv_truncate callback in blkdebug, Manos Pitsidianakis, 2017/07/11
[Qemu-devel] [PATCH v4 4/4] block: add default implementations for bdrv_co_get_block_status(), Manos Pitsidianakis, 2017/07/11
[Qemu-devel] [PATCH v4 1/4] block: pass bdrv_* methods to bs->file by default in block filters, Manos Pitsidianakis, 2017/07/11
Re: [Qemu-devel] [PATCH v4 0/4] block: Block driver callbacks fixes, Markus Armbruster, 2017/07/12