summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/mount.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/mount.c b/src/core/mount.c
index 1251c94608..1d7d9e0d58 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -102,7 +102,9 @@ static bool mount_is_auto(const MountParameters *p) {
static bool needs_quota(const MountParameters *p) {
assert(p);
- if (mount_is_network(p))
+ /* Quotas are not enabled on network filesystems,
+ * but we them, for example, on storages connected via iscsi */
+ if (p->fstype && fstype_is_network(p->fstype))
return false;
if (mount_is_bind(p))