Here are impossible second binfmt_misc as we already
scanned all mounted partitions.

Signed-off-by: Kirill Tkhai <[email protected]>
---
 criu/mount.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/mount.c b/criu/mount.c
index 691697480..7daeef326 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -3501,7 +3501,7 @@ int collect_mnt_namespaces(bool for_dump)
                                                  "binfmt_misc");
                        if (ret == -EPERM)
                                pr_info("Can't mount binfmt_misc: EPERM. 
Running in user_ns?\n");
-                       else if (ret < 0 && ret != -EBUSY && ret != -ENODEV && 
ret != -ENOENT) {
+                       else if (ret < 0 && ret != -ENODEV && ret != -ENOENT) {
                                pr_err("Can't mount binfmt_misc: %d %s\n", ret, 
strerror(-ret));
                                goto err;
                        } else if (ret == 0) {

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to