Page MenuHomeFreeBSD

nfs_clvnops: standardize on EOPNOTSUPP for posix_fallocate(2)
ClosedPublic

Authored by kevans on Sun, Nov 2, 3:20 PM.
Tags
None
Referenced Files
F134936025: D53536.id165856.diff
Wed, Nov 5, 7:34 AM
F134936021: D53536.id165678.diff
Wed, Nov 5, 7:34 AM
F134936020: D53536.id.diff
Wed, Nov 5, 7:34 AM
F134919066: D53536.id165678.diff
Wed, Nov 5, 5:06 AM
F134919049: D53536.diff
Wed, Nov 5, 5:06 AM
Unknown Object (File)
Mon, Nov 3, 4:09 PM
Unknown Object (File)
Mon, Nov 3, 8:36 AM
Unknown Object (File)
Mon, Nov 3, 4:25 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