chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shared: the btrfs quota field is called "referenced" not "referred"
[elogind.git]
/
src
/
shared
/
machine-image.c
diff --git
a/src/shared/machine-image.c
b/src/shared/machine-image.c
index c6d2850ad2dcf9d901f3dce0f5ffe4d6b1a1e4f3..552847e0f0119890255d3244629dcecd3cbd8d41 100644
(file)
--- a/
src/shared/machine-image.c
+++ b/
src/shared/machine-image.c
@@
-163,10
+163,10
@@
static int image_make(
r = btrfs_subvol_get_quota_fd(fd, "a);
if (r >= 0) {
r = btrfs_subvol_get_quota_fd(fd, "a);
if (r >= 0) {
- (*ret)->usage = quota.refer
r
ed;
+ (*ret)->usage = quota.refer
enc
ed;
(*ret)->usage_exclusive = quota.exclusive;
(*ret)->usage_exclusive = quota.exclusive;
- (*ret)->limit = quota.refer
r
ed_max;
+ (*ret)->limit = quota.refer
enc
ed_max;
(*ret)->limit_exclusive = quota.exclusive_max;
}
(*ret)->limit_exclusive = quota.exclusive_max;
}
@@
-613,7
+613,7
@@
int image_path_lock(const char *path, int operation, LockFile *global, LockFile
return 0;
}
return 0;
}
-int image_set_limit(Image *i, uint64_t refer
r
ed_max) {
+int image_set_limit(Image *i, uint64_t refer
enc
ed_max) {
assert(i);
if (path_equal(i->path, "/") ||
assert(i);
if (path_equal(i->path, "/") ||
@@
-623,7
+623,7
@@
int image_set_limit(Image *i, uint64_t referred_max) {
if (i->type != IMAGE_SUBVOLUME)
return -ENOTSUP;
if (i->type != IMAGE_SUBVOLUME)
return -ENOTSUP;
- return btrfs_quota_limit(i->path, refer
r
ed_max);
+ return btrfs_quota_limit(i->path, refer
enc
ed_max);
}
int image_name_lock(const char *name, int operation, LockFile *ret) {
}
int image_name_lock(const char *name, int operation, LockFile *ret) {