svn commit: r325422 - head/lib/libc/sys

Warner Losh imp at bsdimp.com
Thu Nov 9 15:10:25 UTC 2017


On Thu, Nov 9, 2017 at 8:08 AM, Baptiste Daroussin <bapt at freebsd.org> wrote:

> On Sun, Nov 05, 2017 at 03:02:19AM +0000, Ed Maste wrote:
> > Author: emaste
> > Date: Sun Nov  5 03:02:19 2017
> > New Revision: 325422
> > URL: https://svnweb.freebsd.org/changeset/base/325422
> >
> > Log:
> >   posix_fallocate.2: add an EINVAL errno case
> >
> >   As of r325320 posix_fallocate returns EINVAL on ZFS to indicate that
> >   the underlying filesystem does not support this operation, per
> >   POSIX.1-2008. Document this case in the man page.
>
> I would have expected a EOPNOTSUPP no?
>

Me too, but POSIX specifically requires EINVAL.

Warner


More information about the svn-src-head mailing list