Commit ffed8bb7 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

criu/include: fix typos in comments

Initilize -> Initialize
immediatelly -> immediately
carefull -> carefully
transfering -> transferring
descriptrs -> descriptors
transfered -> transferred
comparision -> comparison
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 42cc0ff6
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
extern Lsmtype host_lsm_type(void); 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); extern void kerndat_lsm(void);
......
...@@ -171,7 +171,7 @@ typedef int (*uns_call_t)(void *arg, int fd, pid_t pid); ...@@ -171,7 +171,7 @@ typedef int (*uns_call_t)(void *arg, int fd, pid_t pid);
* If the operation in question can be offloaded to another process, * If the operation in question can be offloaded to another process,
* this call allows to do that. * 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. * in the context of calling task.
*/ */
extern int __userns_call(const char *func_name, uns_call_t call, int flags, extern int __userns_call(const char *func_name, uns_call_t call, int flags,
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
* pg2: 05,0F,10,11,17,18 * pg2: 05,0F,10,11,17,18
* *
* When trying to restore from these 4 files we'd have * 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. * skip pages from pages.img where appropriate.
* *
* All this is implemented in read_pagemap_page. * All this is implemented in read_pagemap_page.
......
...@@ -51,7 +51,7 @@ struct parasite_ctl { ...@@ -51,7 +51,7 @@ struct parasite_ctl {
unsigned int *addr_cmd; /* addr for command */ unsigned int *addr_cmd; /* addr for command */
void *addr_args; /* address for arguments */ void *addr_args; /* address for arguments */
unsigned long args_size; unsigned long args_size;
int tsock; /* transport socket for transfering fds */ int tsock; /* transport socket for transferring fds */
struct page_pipe *mem_pp; struct page_pipe *mem_pp;
}; };
......
...@@ -221,11 +221,11 @@ static inline void copy_sas(ThreadSasEntry *dst, const stack_t *src) ...@@ -221,11 +221,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 * 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 * 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) * 3) criu should work with a defaul value of the file limit (1024)
*/ */
#define PARASITE_MAX_FDS CR_SCM_MAX_FD * 3 #define PARASITE_MAX_FDS CR_SCM_MAX_FD * 3
......
...@@ -92,7 +92,7 @@ struct proc_status_creds { ...@@ -92,7 +92,7 @@ struct proc_status_creds {
/* /*
* Keep them at the end of structure * Keep them at the end of structure
* for fast comparision reason. * for fast comparison reason.
*/ */
u32 cap_inh[PROC_CAP_SIZE]; u32 cap_inh[PROC_CAP_SIZE];
u32 cap_prm[PROC_CAP_SIZE]; u32 cap_prm[PROC_CAP_SIZE];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment