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

Submitted by Pavel Tikhomirov on Dec. 13, 2018, 9:02 a.m.

Details

Message ID 20181213090256.15492-2-ptikhomirov@virtuozzo.com
State New
Series "support restoring ghost files on readonly mounts"
Headers show

Commit Message

Pavel Tikhomirov Dec. 13, 2018, 9:02 a.m.
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
---
 criu/mount.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

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;
 	}