summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-03-10 15:55:58 +0100
committerLennart Poettering <lennart@poettering.net>2015-03-10 15:55:58 +0100
commitcb81cd8073392936882643af0129934bf67e96c4 (patch)
tree7609a50fcc65b9265e6e90aad8880f258c55a13e /src/machine
parente06fe15b1f27d9d2317b25232d6df1e0a60dfce2 (diff)
shared: the btrfs quota field is called "referenced" not "referred"
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machined-dbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/machine/machined-dbus.c b/src/machine/machined-dbus.c
index adba8122f3..4d7409321b 100644
--- a/src/machine/machined-dbus.c
+++ b/src/machine/machined-dbus.c
@@ -76,7 +76,7 @@ static int property_get_pool_usage(
BtrfsQuotaInfo q;
if (btrfs_subvol_get_quota_fd(fd, &q) >= 0)
- usage = q.referred;
+ usage = q.referenced;
}
if (stat("/var/lib/machines.raw", &st) >= 0) {
@@ -112,7 +112,7 @@ static int property_get_pool_limit(
BtrfsQuotaInfo q;
if (btrfs_subvol_get_quota_fd(fd, &q) >= 0)
- size = q.referred_max;
+ size = q.referenced_max;
}
if (stat("/var/lib/machines.raw", &st) >= 0) {