chiark / gitweb /
mount: pull in quota tools from fstab lines with 'quota' option, too
[elogind.git] / src / mount.c
index 829c2cc13c1ff944666f00418909036742cd9854..2fc799a6ed58cfc0a636fd6a80c6dea9759365ba 100644 (file)
@@ -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) {