X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fmount.c;h=53594cd40b4379f3e5350e48824e53ac6f7ce74d;hb=340a1d2330ddc1dd18ad75bcdddf32f63c84b4a1;hp=1251c94608d6a678fc1f04a33a53a00a4f75363a;hpb=6e392c9c45643d106673c6643ac8bf4e65da13c1;p=elogind.git diff --git a/src/core/mount.c b/src/core/mount.c index 1251c9460..53594cd40 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 want them, for example, on storage connected via iscsi */ + if (p->fstype && fstype_is_network(p->fstype)) return false; if (mount_is_bind(p))