From: Lennart Poettering Date: Wed, 21 Sep 2011 18:19:43 +0000 (+0200) Subject: mount: pull in quota tools from fstab lines with 'quota' option, too X-Git-Tag: v36~32 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d3354f66c23aa29b3a15a4c5903fb2edcc8acfda;p=elogind.git mount: pull in quota tools from fstab lines with 'quota' option, too https://bugzilla.redhat.com/show_bug.cgi?id=736360 --- diff --git a/TODO b/TODO index c51205175..880123d68 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 829c2cc13..2fc799a6e 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) {