freebsd-src/sys/fs
Bruce Evans 2cec12807d Fixed errno for unsupported advisory locks. The errno is now EINVAL
fcntl() and EOPNOTSUPP for flock().  POSIX specifies the weaker EINVAL
errno and the man page agrees.

Not fixed:
deadfs: always returns wrong EBADF
devfs, msdosfs: always return sometimes-wrong EINVAL
cd9660, fdesc, kernfs, portal: always return sometimes-wrong EOPNOTSUPP
procfs: always returns wrong EIO
mfs: panic?!
nfs: fudged

NetBSD uses a generic file system genfs to do return the sometimes-wrong
EOPNOTSUPP more consistently :-)(.

Found by:	NIST-PCTS
1996-12-19 18:16:33 +00:00
..
cd9660 Fix signed/unsigned comparison warnings. 1996-10-20 21:01:46 +00:00
deadfs staticize. 1995-12-02 17:14:34 +00:00
fdescfs Whoops, I should've used the LINT config file. More ts -> tv changes 1996-09-20 05:56:36 +00:00
fifofs Fixed errno for unsupported advisory locks. The errno is now EINVAL 1996-12-19 18:16:33 +00:00
msdosfs Fixed an off by 1 error in unix2dostime(). The first day of each month 1996-12-04 13:42:09 +00:00
nullfs Moved the fsnode MALLOC to before the call to getnewvnode() so that the 1996-06-12 03:37:57 +00:00
portalfs Eliminated nested include of <sys/unistd.h> in <sys/file.h> in the kernel. 1996-09-03 14:25:27 +00:00
procfs Fix a potential deadlock from the previous commit. 1996-10-30 03:52:57 +00:00
specfs Fixed errno for unsupported advisory locks. The errno is now EINVAL 1996-12-19 18:16:33 +00:00
umapfs Moved the fsnode MALLOC to before the call to getnewvnode() so that the 1996-06-12 03:37:57 +00:00
unionfs Added prototypes. 1995-12-03 14:54:48 +00:00