Page MenuHomeFreeBSD

nfs_clvnops: standardize on EOPNOTSUPP for posix_fallocate(2)
ClosedPublic

Authored by kevans on Nov 2 2025, 3:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 16, 7:43 AM
Unknown Object (File)
Tue, Mar 3, 6:17 PM
Unknown Object (File)
Tue, Mar 3, 6:26 AM
Unknown Object (File)
Tue, Mar 3, 6:26 AM
Unknown Object (File)
Tue, Mar 3, 6:26 AM
Unknown Object (File)
Sun, Mar 1, 4:33 PM
Unknown Object (File)
Sun, Mar 1, 5:15 AM
Unknown Object (File)
Sat, Feb 28, 6:07 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable