From 27b7d468e6a00628d5eb3af1bc3968a0ea798f41 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Sun, 5 May 2019 03:33:35 +0000 Subject: [PATCH] prepare-root: remove ignored MS_MGC_VAL flag Since Linux 2.4 this is no longer required and the flag is ignored. Closes: #1851 Approved by: cgwalters --- src/switchroot/ostree-prepare-root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switchroot/ostree-prepare-root.c b/src/switchroot/ostree-prepare-root.c index 15d49963..3d6e7833 100644 --- a/src/switchroot/ostree-prepare-root.c +++ b/src/switchroot/ostree-prepare-root.c @@ -182,7 +182,7 @@ main(int argc, char *argv[]) mount_var = true; /* Link to the deployment's /var */ - if (mount_var && mount ("../../var", "var", NULL, MS_MGC_VAL|MS_BIND, NULL) < 0) + if (mount_var && mount ("../../var", "var", NULL, MS_BIND, NULL) < 0) err (EXIT_FAILURE, "failed to bind mount ../../var to var"); char srcpath[PATH_MAX];