chiark / gitweb /
remove MS_* which can not be combined with current kernel code
[elogind.git] / src / core / namespace.c
index da555cd23ce21c8802052eeaa6234419282cca33..7ac6b381abb772870457a1fe7e3e628f009622d1 100644 (file)
@@ -167,7 +167,7 @@ static int apply_mount(Path *p, const char *root_dir, const char *inaccessible_d
 
                 /* Avoid exponential growth of trees */
                 if (r >= 0 && path_equal(p->path, "/"))
 
                 /* Avoid exponential growth of trees */
                 if (r >= 0 && path_equal(p->path, "/"))
-                        r = mount(NULL, where, NULL, MS_REMOUNT|MS_BIND|MS_UNBINDABLE|flags, NULL);
+                        r = mount(NULL, where, NULL, MS_REMOUNT|MS_BIND|flags, NULL);
 
                 if (r < 0) {
                         r = -errno;
 
                 if (r < 0) {
                         r = -errno;