Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2017 08:10:23 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Ed Maste <emaste@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r325422 - head/lib/libc/sys
Message-ID:  <CANCZdfoTgCDciNOpVbmohG2sMrh06XZzDtkfT0tKDfnomebMFg@mail.gmail.com>
In-Reply-To: <20171109150813.sejhhfhgz52tch2j@ivaldir.net>
References:  <201711050302.vA532JBM015186@repo.freebsd.org> <20171109150813.sejhhfhgz52tch2j@ivaldir.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 9, 2017 at 8:08 AM, Baptiste Daroussin <bapt@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoTgCDciNOpVbmohG2sMrh06XZzDtkfT0tKDfnomebMFg>