glibc in version 2.36 defines an own function named move_mount() in some
header. The definition from glibc collides with our definition, just
rename the function in fstools.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
}
/**
- * move_mount - move mount point to the new root
+ * ovl_move_mount - move mount point to the new root
*/
-static int move_mount(const char *device, const char *mount_point)
+static int ovl_move_mount(const char *device, const char *mount_point)
{
static const char *prefix = "/tmp/root/";
* doesn't support mounts. Mounting to upper dir don't make overlay
* /propagate/ files to the target dir.
*/
- foreach_mount(move_mount);
+ foreach_mount(ovl_move_mount);
return ret;
}