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:
parent
57981b9812
commit
d3354f66c2
2
TODO
2
TODO
@ -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)
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user