fusefs_quotactl() unconditionally returns zero, despite fusefs not
supporting quotas. I think it should return EOPNOTSUPP. At least that
is what cd9660, udf, fuse, msdosfs, tmpfs and nfs do.
cheers,
natano
--- fuse_vfsops.c.orig Thu Sep 11 14:53:36 2014
+++ fuse_vfsops.c Thu Sep 11 14:54:24 2014
@@ -189,7 +189,7 @@
int fusefs_quotactl(struct mount *mp, int cmds, uid_t uid, caddr_t arg,
struct proc *p)
{
- return (0);
+ return (EOPNOTSUPP);
}
int fusefs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)