summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-21 20:19:43 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-21 20:19:43 +0200
commitd3354f66c23aa29b3a15a4c5903fb2edcc8acfda (patch)
tree4a951e5ad1da2d7065b9ca82b335b48aac9f9323
parent57981b98123a6504c68981c7e3cd43f7cc1668f7 (diff)
mount: pull in quota tools from fstab lines with 'quota' option, too
https://bugzilla.redhat.com/show_bug.cgi?id=736360
-rw-r--r--TODO2
-rw-r--r--src/mount.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/TODO b/TODO
index c51205175a..880123d683 100644
--- a/TODO
+++ b/TODO
@@ -17,6 +17,8 @@ Bugfixes:
Features:
+* for socket units don't inherit global stdout setting.
+
* internal restart counter for units (focus on auto-respawn)
* finer-grained auto-respawn settings (rate-limit)
diff --git a/src/mount.c b/src/mount.c
index 829c2cc13c..2fc799a6ed 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -320,7 +320,10 @@ static bool needs_quota(MountParameters *p) {
return false;
return mount_test_option(p->options, "usrquota") ||
- mount_test_option(p->options, "grpquota");
+ mount_test_option(p->options, "grpquota") ||
+ mount_test_option(p->options, "quota") ||
+ mount_test_option(p->options, "usrjquota") ||
+ mount_test_option(p->options, "grpjquota");
}
static int mount_add_fstab_links(Mount *m) {