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
This commit is contained in:
parent
b35f337dc7
commit
27b7d468e6
|
|
@ -182,7 +182,7 @@ main(int argc, char *argv[])
|
||||||
mount_var = true;
|
mount_var = true;
|
||||||
|
|
||||||
/* Link to the deployment's /var */
|
/* 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");
|
err (EXIT_FAILURE, "failed to bind mount ../../var to var");
|
||||||
|
|
||||||
char srcpath[PATH_MAX];
|
char srcpath[PATH_MAX];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue