[lxc-devel] [lxc/master] use correct "overlayfs" instead of "ovl"

brauner on Github lxc-bot at linuxcontainers.org
Tue Apr 5 14:07:31 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160405/2885be74/attachment.bin>
-------------- next part --------------
From a5b84c6d1a1be73a68b9a3816e0e0a3b87bfd867 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at mailbox.org>
Date: Tue, 5 Apr 2016 16:05:29 +0200
Subject: [PATCH] use correct "overlayfs" instead of "ovl"

Signed-off-by: Christian Brauner <christian.brauner at mailbox.org>
---
 src/lxc/bdev/bdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/bdev/bdev.c b/src/lxc/bdev/bdev.c
index 1114a41..6b29115 100644
--- a/src/lxc/bdev/bdev.c
+++ b/src/lxc/bdev/bdev.c
@@ -980,7 +980,7 @@ bool is_valid_bdev_type(const char *type)
 			strcmp(type, "loop") == 0 ||
 			strcmp(type, "lvm") == 0 ||
 			strcmp(type, "nbd") == 0 ||
-			strcmp(type, "ovl") == 0 ||
+			strcmp(type, "overlayfs") == 0 ||
 			strcmp(type, "rbd") == 0 ||
 			strcmp(type, "zfs") == 0)
 		return true;


More information about the lxc-devel mailing list