[CRIU] [PATCH 5/8] criu/include: fix typos in comments

Kir Kolyshkin kir at openvz.org
Thu Aug 4 14:54:55 PDT 2016


Initilize -> Initialize
immediatelly -> immediately
carefull -> carefully
transfering -> transferring
descriptrs -> descriptors
transfered -> transferred
comparision -> comparison

Signed-off-by: Kir Kolyshkin <kir at openvz.org>

diff --git a/criu/include/lsm.h b/criu/include/lsm.h
index b6aff33..d3f9610 100644
--- a/criu/include/lsm.h
+++ b/criu/include/lsm.h
@@ -10,7 +10,7 @@
 extern Lsmtype host_lsm_type(void);
 
 /*
- * Initilize the Lsmtype for the current host
+ * Initialize the Lsmtype for the current host
  */
 extern void kerndat_lsm(void);
 
diff --git a/criu/include/namespaces.h b/criu/include/namespaces.h
index 3a3f7d4..bba30a5 100644
--- a/criu/include/namespaces.h
+++ b/criu/include/namespaces.h
@@ -180,7 +180,7 @@ typedef int (*uns_call_t)(void *arg, int fd, pid_t pid);
  * If the operation in question can be offloaded to another process,
  * this call allows to do that.
  *
- * In case we're not in userns, just call the callback immediatelly
+ * In case we're not in userns, just call the callback immediately
  * in the context of calling task.
  */
 extern int __userns_call(const char *func_name, uns_call_t call, int flags,
diff --git a/criu/include/pagemap.h b/criu/include/pagemap.h
index b973caf..c579763 100644
--- a/criu/include/pagemap.h
+++ b/criu/include/pagemap.h
@@ -34,7 +34,7 @@
  * pg2:  05,0F,10,11,17,18
  *
  * When trying to restore from these 4 files we'd have
- * to carefull scan pagemap.img's one by one and read or
+ * to carefully scan pagemap.img's one by one and read or
  * skip pages from pages.img where appropriate.
  *
  * All this is implemented in read_pagemap_page.
diff --git a/criu/include/parasite-syscall.h b/criu/include/parasite-syscall.h
index 9cf6330..9f3311b 100644
--- a/criu/include/parasite-syscall.h
+++ b/criu/include/parasite-syscall.h
@@ -51,7 +51,7 @@ struct parasite_ctl {
 	unsigned int		*addr_cmd;				/* addr for command */
 	void			*addr_args;				/* address for arguments */
 	unsigned long		args_size;
-	int			tsock;					/* transport socket for transfering fds */
+	int			tsock;					/* transport socket for transferring fds */
 
 	struct page_pipe	*mem_pp;
 };
diff --git a/criu/include/parasite.h b/criu/include/parasite.h
index 82f4c3f..e850cff 100644
--- a/criu/include/parasite.h
+++ b/criu/include/parasite.h
@@ -224,11 +224,11 @@ static inline void copy_sas(ThreadSasEntry *dst, const stack_t *src)
 }
 
 /*
- * How many descriptrs can be transfered from parasite:
+ * How many descriptors can be transferred from parasite:
  *
  * 1) struct parasite_drain_fd + all descriptors should fit into one page
  * 2) The value should be a multiple of CR_SCM_MAX_FD, because descriptors
- *    are transfered with help of send_fds and recv_fds.
+ *    are transferred with help of send_fds and recv_fds.
  * 3) criu should work with a defaul value of the file limit (1024)
  */
 #define PARASITE_MAX_FDS	CR_SCM_MAX_FD * 3
diff --git a/criu/include/proc_parse.h b/criu/include/proc_parse.h
index ee2d9df..52ac92f 100644
--- a/criu/include/proc_parse.h
+++ b/criu/include/proc_parse.h
@@ -92,7 +92,7 @@ struct proc_status_creds {
 
 	/*
 	 * Keep them at the end of structure
-	 * for fast comparision reason.
+	 * for fast comparison reason.
 	 */
 	u32			cap_inh[PROC_CAP_SIZE];
 	u32			cap_prm[PROC_CAP_SIZE];
-- 
2.7.4



More information about the CRIU mailing list