1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

mount: pull in quota tools from fstab lines with 'quota' option, too

https://bugzilla.redhat.com/show_bug.cgi?id=736360
This commit is contained in:
Lennart Poettering 2011-09-21 20:19:43 +02:00
parent 57981b9812
commit d3354f66c2
2 changed files with 6 additions and 1 deletions

2
TODO
View File

@ -17,6 +17,8 @@ Bugfixes:
Features: Features:
* for socket units don't inherit global stdout setting.
* internal restart counter for units (focus on auto-respawn) * internal restart counter for units (focus on auto-respawn)
* finer-grained auto-respawn settings (rate-limit) * finer-grained auto-respawn settings (rate-limit)

View File

@ -320,7 +320,10 @@ static bool needs_quota(MountParameters *p) {
return false; return false;
return mount_test_option(p->options, "usrquota") || 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) { static int mount_add_fstab_links(Mount *m) {