[lxc-devel] [lxd/master] lxd/volumes: Allow quota on ext4

stgraber on Github lxc-bot at linuxcontainers.org
Wed Jun 12 20:20:08 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 414 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190612/761c4b2d/attachment.bin>
-------------- next part --------------
From fbd77f8a632751b16a08428aa1e2a3cb9f9e8a55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Mon, 10 Jun 2019 17:00:28 -0400
Subject: [PATCH] lxd/volumes: Allow quota on ext4
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: St├ęphane Graber <stgraber at ubuntu.com>
---
 lxd/storage_volumes_config.go | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lxd/storage_volumes_config.go b/lxd/storage_volumes_config.go
index f45309063c..7fc7b652b2 100644
--- a/lxd/storage_volumes_config.go
+++ b/lxd/storage_volumes_config.go
@@ -163,10 +163,6 @@ func storageVolumeValidateConfig(name string, config map[string]string, parentPo
 			if config["block.filesystem"] != "" {
 				return fmt.Errorf("the key block.filesystem cannot be used with dir storage volumes")
 			}
-
-			if config["size"] != "" {
-				return fmt.Errorf("the key size cannot be used with dir storage volumes")
-			}
 		}
 	}
 


More information about the lxc-devel mailing list