Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2019 11:19:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234413] quotactl() returns wrong error
Message-ID:  <bug-234413-227-c7ee2QYzlR@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

topical <topical@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |topical@gmx.net

--- Comment #9 from topical <topical@gmx.net> ---
Samba logs an error according to

  if (errno !=3D ENOTSUP && errno !=3D EINVAL)=20

So, to avoid excessive logging, it would be nice to replace the error code =
with
either ENOTSUP or EINVAL. IMHO it makes more sense to use ENOTSUP but this =
code
is not documented in quotactl(2) at all. For UFS compatibility, we should u=
se
EINVAL but according to man page, this error code is not applicable.=20

I suggest to use ENOTSUP if there is no zfs quota.

--=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-c7ee2QYzlR>