[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 10/11] fix spelling in block sub directory
From: |
Dong Xu Wang |
Subject: |
[Qemu-devel] [PATCH 10/11] fix spelling in block sub directory |
Date: |
Tue, 22 Nov 2011 18:06:25 +0800 |
From: Dong Xu Wang <address@hidden>
Cc: Kevin Wolf <address@hidden>
Signed-off-by: Dong Xu Wang <address@hidden>
---
block/cow.c | 2 +-
block/qcow2.c | 4 ++--
block/raw-posix.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/block/cow.c b/block/cow.c
index 089d395..3448296 100644
--- a/block/cow.c
+++ b/block/cow.c
@@ -92,7 +92,7 @@ static int cow_open(BlockDriverState *bs, int flags)
}
/*
- * XXX(hch): right now these functions are extremly ineffcient.
+ * XXX(hch): right now these functions are extremely ineffcient.
* We should just read the whole bitmap we'll need in one go instead.
*/
static inline int cow_set_bit(BlockDriverState *bs, int64_t bitnum)
diff --git a/block/qcow2.c b/block/qcow2.c
index d7805ce..9e1b1eb 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -92,7 +92,7 @@ static int qcow2_read_extensions(BlockDriverState *bs,
uint64_t start_offset,
if (offset > s->cluster_size)
printf("qcow2_read_extension: suspicious offset %lu\n", offset);
- printf("attemting to read extended header in offset %lu\n", offset);
+ printf("attempting to read extended header in offset %lu\n", offset);
#endif
if (bdrv_pread(bs->file, offset, &ext, sizeof(ext)) != sizeof(ext)) {
@@ -821,7 +821,7 @@ static int qcow2_create2(const char *filename, int64_t
total_size,
int flags, size_t cluster_size, int prealloc,
QEMUOptionParameter *options)
{
- /* Calulate cluster_bits */
+ /* Calculate cluster_bits */
int cluster_bits;
cluster_bits = ffs(cluster_size) - 1;
if (cluster_bits < MIN_CLUSTER_BITS || cluster_bits > MAX_CLUSTER_BITS ||
diff --git a/block/raw-posix.c b/block/raw-posix.c
index a3de373..2ee5d69 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -1153,7 +1153,7 @@ static int cdrom_open(BlockDriverState *bs, const char
*filename, int flags)
if (ret)
return ret;
- /* make sure the door isnt locked at this time */
+ /* make sure the door isn't locked at this time */
ioctl(s->fd, CDIOCALLOW);
return 0;
}
@@ -1184,7 +1184,7 @@ static int cdrom_reopen(BlockDriverState *bs)
}
s->fd = fd;
- /* make sure the door isnt locked at this time */
+ /* make sure the door isn't locked at this time */
ioctl(s->fd, CDIOCALLOW);
return 0;
}
--
1.7.5.4
- [Qemu-devel] [PATCH 02/11] fix spelling in linux-user sub directory, (continued)
- [Qemu-devel] [PATCH 02/11] fix spelling in linux-user sub directory, Dong Xu Wang, 2011/11/22
- [Qemu-devel] [PATCH 09/11] fix spelling in ui sub directory, Dong Xu Wang, 2011/11/22
- [Qemu-devel] [PATCH 04/11] fix spelling in QMP sub directory, Dong Xu Wang, 2011/11/22
- [Qemu-devel] [PATCH 05/11] fix spelling in scripts sub directory, Dong Xu Wang, 2011/11/22
- [Qemu-devel] [PATCH 07/11] fix spelling in tcg sub directory, Dong Xu Wang, 2011/11/22
- [Qemu-devel] [PATCH 11/11] fix spelling in main directory, Dong Xu Wang, 2011/11/22
- [Qemu-devel] [PATCH 06/11] fix spelling in target sub directory, Dong Xu Wang, 2011/11/22
- [Qemu-devel] [PATCH 08/11] fix spelling in tests sub directory, Dong Xu Wang, 2011/11/22
- [Qemu-devel] [PATCH 03/11] fix spelling in libcacard sub directory, Dong Xu Wang, 2011/11/22
- [Qemu-devel] [PATCH 10/11] fix spelling in block sub directory,
Dong Xu Wang <=
- Re: [Qemu-devel] [Qemu-trivial] [PATCH 01/11] fix spelling in darwin-user sub directory, Stefan Hajnoczi, 2011/11/23
- Re: [Qemu-devel] [PATCH 01/11] fix spelling in darwin-user sub directory, Andreas Färber, 2011/11/23