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
F141556852: D53536.id165856.diff
Wed, Jan 7, 7:42 AM
Unknown Object (File)
Mon, Jan 5, 4:20 PM
Unknown Object (File)
Wed, Dec 31, 5:42 AM
Unknown Object (File)
Sat, Dec 13, 9:14 PM
Unknown Object (File)
Nov 17 2025, 10:10 AM
Unknown Object (File)
Nov 16 2025, 9:23 AM
Unknown Object (File)
Nov 12 2025, 5:12 PM
Unknown Object (File)
Nov 8 2025, 3:14 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 68353
Build 65236: arc lint + arc unit