HomeFreeBSD

Map ECKSUM and EFRAGS from ZFS onto real errnos.

Description

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>
Reviewed by: mckusick, mav
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D22973

Details

Provenance
mavAuthored on
Reviewer
mckusick
Differential Revision
D22973: Map ECKSUM and EFRAGS from ZFS onto real errnos
Parents
rS356706: savecore: include time zone in info.N file
Branches
Unknown
Tags
Unknown