From e7caa14a85cd4d70847a5d062f96cefe505e1f8c Mon Sep 17 00:00:00 2001 From: Bahtiar `kalkin-` Gadimov Date: Sun, 28 Aug 2016 19:51:33 +0200 Subject: [PATCH] Fix file storage resize --- qubes/storage/file.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qubes/storage/file.py b/qubes/storage/file.py index e8864779..9bf8a20b 100644 --- a/qubes/storage/file.py +++ b/qubes/storage/file.py @@ -136,6 +136,7 @@ class FilePool(qubes.storage.Pool): # resize loop device subprocess.check_call(['sudo', 'losetup', '--set-capacity', loop_dev]) + volume.size = size def remove(self, volume): if not volume.internal: