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
F164998126: D53536.id165678.diff
Wed, Aug 5, 6:51 AM
F164996884: D53536.id165856.diff
Wed, Aug 5, 6:45 AM
Unknown Object (File)
Tue, Aug 4, 9:13 AM
Unknown Object (File)
Thu, Jul 30, 9:06 PM
Unknown Object (File)
Wed, Jul 22, 2:12 PM
Unknown Object (File)
Tue, Jul 21, 9:59 AM
Unknown Object (File)
Tue, Jul 21, 8:33 AM
Unknown Object (File)
Sun, Jul 19, 2:06 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