SHA256
1
0
forked from pool/quota
quota/quota-3.15-ignore_nfs.patch

12 lines
375 B
Diff
Raw Normal View History

--- quotaon.c
+++ quotaon.c
@@ -346,7 +346,7 @@
else if (!kernel_formats)
errstr(_("Warning: No quota format detected in the kernel.\n"));
- if (init_mounts_scan(mntcnt, mntpoints, MS_XFS_DISABLED) < 0)
+ if (init_mounts_scan(mntcnt, mntpoints, MS_XFS_DISABLED | MS_LOCALONLY) < 0)
return 1;
while ((mnt = get_next_mount())) {
if (nfs_fstype(mnt->mnt_type)) {