HomeFreeBSD

nfs_clvnops: standardize on EOPNOTSUPP for posix_fallocate(2)

Description

nfs_clvnops: standardize on EOPNOTSUPP for posix_fallocate(2)

POSIX Issue 7 had allowed EINVAL for this case, but issue 8 moves it
to ENOTSUP instead. ZFS uses the latter and we have some software in
ports already that's wanting to use that to detect the filesystem not
supporting it, so let's standardize on it.

Reviewed by: imp, kib, rmacklem
Differential Revision: https://reviews.freebsd.org/D53536

Details

Provenance
kevansAuthored on Wed, Nov 5, 12:30 AM
Reviewer
imp
Differential Revision
D53536: nfs_clvnops: standardize on EOPNOTSUPP for posix_fallocate(2)
Parents
rGfa393807c57e: fusefs: standardize on OPNOTSUPP for posix_fallocate(2)
Branches
Unknown
Tags
Unknown