qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] fix code format


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] fix code format
Date: Mon, 22 Aug 2011 11:32:08 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10

On 08/19/2011 04:17 AM, Robert Wang wrote:
Fix code format to make checkpatch.pl happy.

Signed-off-by: Robert Wang<address@hidden>

Applied.  Thanks.

Regards,

Anthony Liguori

---
  block.c |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/block.c b/block.c
index 26910ca..87e83bc 100644
--- a/block.c
+++ b/block.c
@@ -2251,9 +2251,9 @@ BlockDriverAIOCB *bdrv_aio_readv(BlockDriverState *bs, 
int64_t sector_num,
                                cb, opaque);

      if (ret) {
-       /* Update stats even though technically transfer has not happened. */
-       bs->rd_bytes += (unsigned) nb_sectors * BDRV_SECTOR_SIZE;
-       bs->rd_ops ++;
+        /* Update stats even though technically transfer has not happened. */
+        bs->rd_bytes += (unsigned) nb_sectors * BDRV_SECTOR_SIZE;
+        bs->rd_ops++;
      }

      return ret;




reply via email to

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