qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] block: Fix comment for bdrv_co_get_block_status


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH] block: Fix comment for bdrv_co_get_block_status
Date: Mon, 10 Nov 2014 11:24:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 2014-11-10 at 10:10, Fam Zheng wrote:
It returns more information than binary, fix the comment.

Signed-off-by: Fam Zheng <address@hidden>
---
  block.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/block.c b/block.c
index dacd881..42c914e 100644
--- a/block.c
+++ b/block.c
@@ -3903,9 +3903,9 @@ typedef struct BdrvCoGetBlockStatusData {
  } BdrvCoGetBlockStatusData;
/*
- * Returns true iff the specified sector is present in the disk image. Drivers
- * not implementing the functionality are assumed to not support backing files,
- * hence all their sectors are reported as allocated.
+ * Returns the status of the specified sectors. Drivers not implementing the
+ * functionality are assumed to not support backing files, hence all their
+ * sectors are reported as allocated.
   *
   * If 'sector_num' is beyond the end of the disk image the return value is 0
   * and 'pnum' is set to 0.

"status" is a bit broad, but pointing to "line 86 in include/block/block.h" for a further explanation will probably not be very stable.

Reviewed-by: Max Reitz <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]