HomeFreeBSD

MFC r356707: Map ECKSUM and EFRAGS from ZFS onto real errnos.

Description

MFC r356707: Map ECKSUM and EFRAGS from ZFS onto real errnos.

Make it less confusing when, for example, stat sets errno to 122 because a
checksum failed in ZFS:

Before: getfacl: /foo/bar: stat() failed: Unknown error: 122
After: getfacl: /foo/bar: stat() failed: Integrity check failed

Submitted by: Ryan Moeller <ryan@ixsystems.com>

Details

Provenance
mavAuthored on
Parents
rS357296: MFC r343111,343113-343115 (by mckusick):
Branches
Unknown
Tags
Unknown