]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r275737: MFV r275545:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Jan 2015 17:31:41 +0000 (17:31 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Jan 2015 17:31:41 +0000 (17:31 +0000)
commit1a66855343f5f94d40fe8194067e86e8e2f0e5a1
treef9eb0736ad6eea2a8e85427b0332f2aa2597311f
parent564624521ef39fb054d8e0c9d175959490a0eb59
MFC r275737:  MFV r275545:

If zio_checksum_error() returns other than ECKSUM (e.g. EINVAL), it does not
fill in the "zio_bad_cksum_t *info" parameter. Caller should not attempt to
use it in this case.

Illumos issue:
    5348 zio_checksum_error() only fills in info if ECKSUM

git-svn-id: svn://svn.freebsd.org/base/stable/10@277575 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c