[CRIU] [PATCH 2/3] minor comment clarification

Tycho Andersen tycho.andersen at canonical.com
Tue Mar 31 08:32:35 PDT 2015


*can* reads that it might fail but won't. Instead, this comment means that any
code added below it should not fail, because the network is unlocked and so the
restored process is exposed to the world.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 cr-restore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cr-restore.c b/cr-restore.c
index a4786a5..285c813 100644
--- a/cr-restore.c
+++ b/cr-restore.c
@@ -1822,7 +1822,7 @@ static int restore_root_task(struct pstree_item *init)
 
 	/*
 	 * -------------------------------------------------------------
-	 * Below this line nothing can fail, because network is unlocked
+	 * Below this line nothing should fail, because network is unlocked
 	 */
 
 	ret = restore_switch_stage(CR_STATE_RESTORE_CREDS);
-- 
2.1.0



More information about the CRIU mailing list