summaryrefslogtreecommitdiff
path: root/src
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 /src
parent57981b98123a6504c68981c7e3cd43f7cc1668f7 (diff)
mount: pull in quota tools from fstab lines with 'quota' option, too
https://bugzilla.redhat.com/show_bug.cgi?id=736360
Diffstat (limited to 'src')
-rw-r--r--src/mount.c5
1 files changed, 4 insertions, 1 deletions
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) {