[CRIU] [PATCH] parasite: remove useless check from context switches
Andrey Vagin
avagin at openvz.org
Tue Sep 16 11:39:52 PDT 2014
We have the same check a few lines above.
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
parasite-syscall.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/parasite-syscall.c b/parasite-syscall.c
index 354f0e9..1c1a2cb 100644
--- a/parasite-syscall.c
+++ b/parasite-syscall.c
@@ -912,10 +912,6 @@ int parasite_stop_on_syscall(int tasks, const int sys_nr)
}
pr_debug("%d was trapped\n", pid);
- if (!WIFSTOPPED(status)) {
- pr_err("%d\n", status);
- return -1;
- }
ret = ptrace_get_regs(pid, ®s);
if (ret) {
pr_perror("ptrace");
--
1.9.3
More information about the CRIU
mailing list