aufs: mark deprecated

parent 79f4b264
......@@ -274,6 +274,11 @@ struct lxc_storage *storage_get(const char *type)
bdev->ops = bdevs[i].ops;
bdev->type = bdevs[i].name;
if (!strcmp(bdev->type, "aufs"))
WARN("The \"aufs\" driver will is deprecated and will soon be "
"removed. For similar functionality see the \"overlay\" "
"storage driver");
return bdev;
}
......@@ -607,6 +612,11 @@ struct lxc_storage *storage_init(struct lxc_conf *conf, const char *src,
if (strcmp(bdev->type, "nbd") == 0)
bdev->nbd_idx = conf->nbd_idx;
if (!strcmp(bdev->type, "aufs"))
WARN("The \"aufs\" driver will is deprecated and will soon be "
"removed. For similar functionality see the \"overlay\" "
"storage driver");
return bdev;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment