[lxc-devel] [lxd/master] lxd/storage/quota: Build on older systems

joelhockey on Github lxc-bot at linuxcontainers.org
Thu May 2 23:26:53 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 366 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190502/474c7cb8/attachment-0001.bin>
-------------- next part --------------
From 0e32aa23f9cd7349cb6c6fd04ce87970bff6b553 Mon Sep 17 00:00:00 2001
From: Joel Hockey <joel.hockey at gmail.com>
Date: Thu, 2 May 2019 16:24:18 -0700
Subject: [PATCH] lxd/storage/quota: Build on older systems See #5659

Signed-off-by: Joel Hockey <joelhockey at chromium.org>
---
 lxd/storage/quota/projectquota.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/storage/quota/projectquota.go b/lxd/storage/quota/projectquota.go
index 994921f753..37e4480665 100644
--- a/lxd/storage/quota/projectquota.go
+++ b/lxd/storage/quota/projectquota.go
@@ -14,6 +14,7 @@ import (
 /*
 #include <linux/fs.h>
 #include <linux/dqblk_xfs.h>
+#include <linux/quota.h>
 #include <sys/ioctl.h>
 #include <sys/quota.h>
 #include <sys/types.h>


More information about the lxc-devel mailing list