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
F162643570: D53536.diff
Wed, Jul 15, 8:46 AM
F162632498: D53536.diff
Wed, Jul 15, 6:53 AM
F162632497: D53536.diff
Wed, Jul 15, 6:53 AM
Unknown Object (File)
Mon, Jul 6, 7:50 AM
Unknown Object (File)
Sun, Jul 5, 8:03 AM
Unknown Object (File)
Sun, Jul 5, 7:04 AM
Unknown Object (File)
Fri, Jul 3, 10:58 PM
Unknown Object (File)
Thu, Jul 2, 12:15 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