summaryrefslogtreecommitdiff
path: root/block/sheepdog.c
diff options
context:
space:
mode:
authorDeepak Kathayat <deepak.mk17@gmail.com>2014-03-24 16:30:17 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2014-03-25 14:09:50 +0100
commitdc6fb73d219472e011d93867f5e7eebfffde0319 (patch)
treeabc944463126b046fb2c505aaaadf992f0b824fd /block/sheepdog.c
parent4fd6a984b93701fcb40a0053098ae5c2c4ee27f4 (diff)
downloadqemu-dc6fb73d219472e011d93867f5e7eebfffde0319.tar.gz
qemu-dc6fb73d219472e011d93867f5e7eebfffde0319.tar.bz2
qemu-dc6fb73d219472e011d93867f5e7eebfffde0319.zip
Fixed various typos
Signed-off-by: Deepak Kathayat <deepak.mk17@gmail.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/sheepdog.c')
-rw-r--r--block/sheepdog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/block/sheepdog.c b/block/sheepdog.c
index f7bd0242e5..0eb33ee80e 100644
--- a/block/sheepdog.c
+++ b/block/sheepdog.c
@@ -909,9 +909,9 @@ static void co_write_request(void *opaque)
}
/*
- * Return a socket discriptor to read/write objects.
+ * Return a socket descriptor to read/write objects.
*
- * We cannot use this discriptor for other operations because
+ * We cannot use this descriptor for other operations because
* the block driver may be on waiting response from the server.
*/
static int get_sheep_fd(BDRVSheepdogState *s)
@@ -1896,7 +1896,7 @@ static int sd_create_branch(BDRVSheepdogState *s)
/*
* Even If deletion fails, we will just create extra snapshot based on
- * the workding VDI which was supposed to be deleted. So no need to
+ * the working VDI which was supposed to be deleted. So no need to
* false bail out.
*/
deleted = sd_delete(s);
@@ -2194,7 +2194,7 @@ cleanup:
* We implement rollback(loadvm) operation to the specified snapshot by
* 1) switch to the snapshot
* 2) rely on sd_create_branch to delete working VDI and
- * 3) create a new working VDI based on the speicified snapshot
+ * 3) create a new working VDI based on the specified snapshot
*/
static int sd_snapshot_goto(BlockDriverState *bs, const char *snapshot_id)
{