]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
storage: add overlay as valid backend
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 15 Aug 2017 18:02:45 +0000 (20:02 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 15 Aug 2017 18:02:45 +0000 (20:02 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/storage/storage_utils.c

index 77d42795161d37ebfae3501d8b2a46a67be5364c..728a1121196b94ad5c6dd4b130a183c372d5075e 100644 (file)
@@ -445,6 +445,7 @@ bool is_valid_storage_type(const char *type)
            strcmp(type, "loop") == 0 ||
            strcmp(type, "lvm") == 0 ||
            strcmp(type, "nbd") == 0 ||
+           strcmp(type, "overlay") == 0 ||
            strcmp(type, "overlayfs") == 0 ||
            strcmp(type, "rbd") == 0 ||
            strcmp(type, "zfs") == 0)