Commit 5ff44092 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by Pavel Emelyanov

files: Remove unused args from dump_dead_process_remap

Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 5dc64eb6
...@@ -769,8 +769,7 @@ static int have_seen_dead_pid(pid_t pid) ...@@ -769,8 +769,7 @@ static int have_seen_dead_pid(pid_t pid)
return 0; return 0;
} }
static int dump_dead_process_remap(pid_t pid, char *path, int len, const struct stat *ost, static int dump_dead_process_remap(pid_t pid, u32 id)
int lfd, u32 id, struct ns_id *nsid)
{ {
RemapFilePathEntry rpe = REMAP_FILE_PATH_ENTRY__INIT; RemapFilePathEntry rpe = REMAP_FILE_PATH_ENTRY__INIT;
int ret; int ret;
...@@ -912,7 +911,7 @@ static int check_path_remap(struct fd_link *link, const struct fd_parms *parms, ...@@ -912,7 +911,7 @@ static int check_path_remap(struct fd_link *link, const struct fd_parms *parms,
if (is_dead) { if (is_dead) {
pr_info("Dumping dead process remap of %d\n", pid); pr_info("Dumping dead process remap of %d\n", pid);
return dump_dead_process_remap(pid, rpath + 1, link->len - 1, ost, lfd, id, nsid); return dump_dead_process_remap(pid, id);
} }
} }
......
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