Date: Thu, 10 Jan 2019 16:40:50 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 234413] quotactl() returns wrong error Message-ID: <bug-234413-227-So2m3hR1zg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-234413-227@https.bugs.freebsd.org/bugzilla/> References: <bug-234413-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234413 --- Comment #10 from Mark Johnston <markj@FreeBSD.org> --- (In reply to topical from comment #9) I don't think it makes sense to return EOPNOTSUPP when Q_GETQUOTA fails bec= ause no quota is configured. UFS already uses EINVAL in this case, and it is in fact documented (earlier I claimed it wasn't): [EINVAL] The cmd argument or the command type is invalid. In Q_GETQUOTASIZE, Q_GETQUOTA, Q_SETQUOTA, and Q_SETUS= E, quotas are not currently enabled for this file syst= em. We should simply modify ZFS to match the documentation. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234413-227-So2m3hR1zg>