[CRIU] [PATCH v4 1/7] mount: remove unused argument of do_restore_task_mnt_ns

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Thu Dec 13 12:02:50 MSK 2018


Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
 criu/mount.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/mount.c b/criu/mount.c
index 218facb76..1b236141e 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -3008,7 +3008,7 @@ int mntns_maybe_create_roots(void)
 	return create_mnt_roots();
 }
 
-static int do_restore_task_mnt_ns(struct ns_id *nsid, struct pstree_item *current)
+static int do_restore_task_mnt_ns(struct ns_id *nsid)
 {
 	int fd;
 
@@ -3055,7 +3055,7 @@ int restore_task_mnt_ns(struct pstree_item *current)
 
 		BUG_ON(nsid->type == NS_CRIU);
 
-		if (do_restore_task_mnt_ns(nsid, current))
+		if (do_restore_task_mnt_ns(nsid))
 			return -1;
 	}
 
-- 
2.17.1



More information about the CRIU mailing list