aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorRobert Wang <wdongxu@linux.vnet.ibm.com>2011-08-19 17:17:12 +0800
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:17:52 -0500
commitd62b5dea30284eacd88055bb08db7c295655945f (patch)
treefd8479014b0b914194133479a8c102d134ed3031 /block.c
parentd4044c2a6b9ba4a00dd653f515a4b0ebfcb7e125 (diff)
fix code format
Fix code format to make checkpatch.pl happy. Signed-off-by: Robert Wang <wdongxu@linux.vnet.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block.c')
-rw-r--r--block.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/block.c b/block.c
index 785c88e171..a8a013a6d2 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;