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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234413 --- 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 because 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_SETUSE, quotas are not currently enabled for this file system. We should simply modify ZFS to match the documentation. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234413-227-So2m3hR1zg>
