diff options
| author | Robert Wang <wdongxu@linux.vnet.ibm.com> | 2011-08-19 17:17:12 +0800 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-22 10:17:52 -0500 |
| commit | d62b5dea30284eacd88055bb08db7c295655945f (patch) | |
| tree | fd8479014b0b914194133479a8c102d134ed3031 | |
| parent | d4044c2a6b9ba4a00dd653f515a4b0ebfcb7e125 (diff) | |
| download | focaccia-qemu-d62b5dea30284eacd88055bb08db7c295655945f.tar.gz focaccia-qemu-d62b5dea30284eacd88055bb08db7c295655945f.zip | |
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>
| -rw-r--r-- | block.c | 6 |
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; |