[CRIU] [PATCH 5/5] Change crtools to criu in comments

Kir Kolyshkin kir at openvz.org
Thu May 9 13:58:04 EDT 2013


Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 cr-restore.c | 4 ++--
 image.c      | 2 +-
 pstree.c     | 2 +-
 sk-tcp.c     | 2 +-
 sockets.c    | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/cr-restore.c b/cr-restore.c
index 72cfb87..2c47fd5 100644
--- a/cr-restore.c
+++ b/cr-restore.c
@@ -95,7 +95,7 @@ static int crtools_prepare_shared(struct cr_options *opts)
 	if (prepare_shared_fdinfo())
 		return -1;
 
-	/* Connections are unlocked from crtools */
+	/* Connections are unlocked from criu */
 	if (collect_inet_sockets())
 		return -1;
 
@@ -1591,7 +1591,7 @@ static int prepare_restorer_blob(void)
 {
 	/*
 	 * We map anonymous mapping, not mremap the restorer itself later.
-	 * Otherwise the restorer vma would be tied to crtools binary which
+	 * Otherwise the restorer vma would be tied to criu binary which
 	 * in turn will lead to set-exe-file prctl to fail with EBUSY.
 	 */
 
diff --git a/image.c b/image.c
index d9c624a..ebbe556 100644
--- a/image.c
+++ b/image.c
@@ -360,7 +360,7 @@ static unsigned long page_ids = 1;
 void up_page_ids_base(void)
 {
 	/*
-	 * When page server and crtools dump work on
+	 * When page server and criu dump work on
 	 * the same dir, the shmem pagemaps and regular
 	 * pagemaps may have IDs conflicts. Fix this by
 	 * making page server produce page images with
diff --git a/pstree.c b/pstree.c
index cb089dc..eaa548c 100644
--- a/pstree.c
+++ b/pstree.c
@@ -525,7 +525,7 @@ set_mask:
 		 * Workaround for current namespaces model --
 		 * all tasks should be in one namespace. And
 		 * this namespace is either inherited from the
-		 * crtools or is created for the init task (only)
+		 * criu or is created for the init task (only)
 		 */
 		if (item == root_item) {
 			pr_info("Will restore in %lx namespaces\n", cflags);
diff --git a/sk-tcp.c b/sk-tcp.c
index ff51783..9ba65da 100644
--- a/sk-tcp.c
+++ b/sk-tcp.c
@@ -98,7 +98,7 @@ static int tcp_repair_establised(int fd, struct inet_sk_desc *sk)
 
 	pr_info("\tTurning repair on for socket %x\n", sk->sd.ino);
 	/*
-	 * Keep the socket open in crtools till the very end. In
+	 * Keep the socket open in criu till the very end. In
 	 * case we close this fd after one task fd dumping and
 	 * fail we'll have to turn repair mode off
 	 */
diff --git a/sockets.c b/sockets.c
index b840b91..c2346ee 100644
--- a/sockets.c
+++ b/sockets.c
@@ -634,7 +634,7 @@ out:
 			err = -1;
 	} else if (pid != 0) {
 		/*
-		 * If netns isn't dumped, crtools will fail only
+		 * If netns isn't dumped, criu will fail only
 		 * if an unsupported socket will be really dumped.
 		 */
 		pr_info("Uncollected sockets! Will probably fail later.\n");
-- 
1.8.1.4



More information about the CRIU mailing list