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
F154147351: D53536.id165856.diff
Sun, Apr 26, 2:13 PM
Unknown Object (File)
Sun, Apr 5, 9:27 PM
Unknown Object (File)
Fri, Apr 3, 1:56 PM
Unknown Object (File)
Sun, Mar 29, 12:40 PM
Unknown Object (File)
Mar 25 2026, 7:49 PM
Unknown Object (File)
Mar 25 2026, 11:09 AM
Unknown Object (File)
Mar 23 2026, 10:43 AM
Unknown Object (File)
Mar 23 2026, 6:01 AM
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