#include "storage_utils.h"
#include "utils.h"
-lxc_log_define(lxcoverlay, lxc);
+lxc_log_define(overlay, lxc);
static char *ovl_name;
static char *ovl_version[] = {"overlay", "overlayfs"};
static char *ovl_detect_name(void);
-static int ovl_do_rsync(struct bdev *orig, struct bdev *new,
+static int ovl_do_rsync(struct lxc_storage *orig, struct lxc_storage *new,
struct lxc_conf *conf);
static int ovl_remount_on_enodev(const char *lower, const char *target,
const char *name, unsigned long mountflags,
const void *options);
-int ovl_clonepaths(struct bdev *orig, struct bdev *new, const char *oldname,
+int ovl_clonepaths(struct lxc_storage *orig, struct lxc_storage *new, const char *oldname,
const char *cname, const char *oldpath, const char *lxcpath,
int snap, uint64_t newsize, struct lxc_conf *conf)
{
* "<lxcpath>/<lxcname>/rootfs" to have the created container, while all changes
* after starting the container are written to "<lxcpath>/<lxcname>/delta0".
*/
-int ovl_create(struct bdev *bdev, const char *dest, const char *n,
+int ovl_create(struct lxc_storage *bdev, const char *dest, const char *n,
struct bdev_specs *specs)
{
char *delta;
return 0;
}
-int ovl_destroy(struct bdev *orig)
+int ovl_destroy(struct lxc_storage *orig)
{
bool ovl;
char *upper = orig->src;
return false;
}
-int ovl_mount(struct bdev *bdev)
+int ovl_mount(struct lxc_storage *bdev)
{
char *tmp, *options, *dup, *lower, *upper;
char *options_work, *work, *lastslash;
return ret;
}
-int ovl_umount(struct bdev *bdev)
+int ovl_umount(struct lxc_storage *bdev)
{
int ret;
return v;
}
-static int ovl_do_rsync(struct bdev *orig, struct bdev *new,
+static int ovl_do_rsync(struct lxc_storage *orig, struct lxc_storage *new,
struct lxc_conf *conf)
{
int ret = -1;