https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234413

--- Comment #10 from Mark Johnston <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to