From: Anthony Liguori <anthony@codemonkey.ws>
To: Naphtali Sprei <nsprei@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/3] No need anymoe for bdrv_set_read_only
Date: Tue, 26 Jan 2010 16:05:10 -0600 [thread overview]
Message-ID: <4B5F6716.9060204@codemonkey.ws> (raw)
In-Reply-To: <1264077641-17902-4-git-send-email-nsprei@redhat.com>
On 01/21/2010 06:40 AM, Naphtali Sprei wrote:
> Signed-off-by: Naphtali Sprei<nsprei@redhat.com>
>
Applied all. Thanks.
Regards,
Anthony Liguori
> ---
> block.c | 7 -------
> block.h | 1 -
> 2 files changed, 0 insertions(+), 8 deletions(-)
>
> diff --git a/block.c b/block.c
> index 73c26ec..8378c18 100644
> --- a/block.c
> +++ b/block.c
> @@ -1009,13 +1009,6 @@ int bdrv_is_read_only(BlockDriverState *bs)
> return bs->read_only;
> }
>
> -int bdrv_set_read_only(BlockDriverState *bs, int read_only)
> -{
> - int ret = bs->read_only;
> - bs->read_only = read_only;
> - return ret;
> -}
> -
> int bdrv_is_sg(BlockDriverState *bs)
> {
> return bs->sg;
> diff --git a/block.h b/block.h
> index fd4e8dd..1aec453 100644
> --- a/block.h
> +++ b/block.h
> @@ -147,7 +147,6 @@ int bdrv_get_type_hint(BlockDriverState *bs);
> int bdrv_get_translation_hint(BlockDriverState *bs);
> int bdrv_is_removable(BlockDriverState *bs);
> int bdrv_is_read_only(BlockDriverState *bs);
> -int bdrv_set_read_only(BlockDriverState *bs, int read_only);
> int bdrv_is_sg(BlockDriverState *bs);
> int bdrv_enable_write_cache(BlockDriverState *bs);
> int bdrv_is_inserted(BlockDriverState *bs);
>
prev parent reply other threads:[~2010-01-26 22:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-21 12:40 [Qemu-devel] [PATCH 0/3] Even more read-write/read-only fixes and cleanup Naphtali Sprei
2010-01-21 12:40 ` [Qemu-devel] [PATCH 0/3] *** SUBJECT HERE *** Naphtali Sprei
2010-01-21 12:40 ` Naphtali Sprei
2010-01-21 12:40 ` [Qemu-devel] [PATCH 1/3] No need anymoe for bdrv_set_read_only Naphtali Sprei
2010-01-21 12:40 ` [Qemu-devel] [PATCH 1/3] No need anymore " Naphtali Sprei
2010-01-21 12:40 ` [Qemu-devel] [PATCH 2/3] Ask for read-write permissions when opening files Naphtali Sprei
2010-01-21 12:40 ` [Qemu-devel] [PATCH 2/3] Ask for read-write permissions when opening files where needed Naphtali Sprei
2010-01-21 12:40 ` [Qemu-devel] [PATCH 3/3] Read-only device changed to opens it's file for read-only Naphtali Sprei
2010-01-26 22:05 ` Anthony Liguori [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B5F6716.9060204@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=nsprei@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.