NetBSD/sys/lib
cgd 981d496969 Change file system file-open semantics slightly: if file system returns
EINVAL, that error code is ignored, leaving whatever other meaningful
error code that might have previously been returned intact.  Stand-alone
file system implementations return EINVAL typically when the file system
is not recognized (i.e. cd9660_open on a UFS file system, ufs_open on a
cd9660 file system, etc.).  This meant that if you had multiple file
systems in a file system switch, the first returned ENOENT (because
it recognized the file system type, but the file wasn't there) and
the second returned EINVAL (because it didn't recognize the file system
type), errno would be set to EINVAL.  Now it'll be set to ENOENT.

It would probably make sense to have file systems return a special
error code to indicate "this file system is unrecognized," which
could then be special-cased, but that's a fair bit more invasive.
1997-01-25 01:13:41 +00:00
..
libkern clean up substantially. Transform clean, depend, cleandir targets from :: 1997-01-23 22:29:07 +00:00
libsa Change file system file-open semantics slightly: if file system returns 1997-01-25 01:13:41 +00:00
libz clean up substantially. Transform clean, depend, cleandir targets from :: 1997-01-23 22:29:07 +00:00