diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2019-02-19 23:43:15 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2019-02-19 23:43:15 +0000 |
commit | 99ab63b69dc1ba2a1a2ee26b71328b7236ef9015 (patch) | |
tree | 37a1c88a2172e96dd392a9ae5a5bb6ba0dc33cdd | |
parent | 36d43b5dfe8d21a6f806af6db41f6088e06688ee (diff) | |
download | src-99ab63b69dc1ba2a1a2ee26b71328b7236ef9015.tar.gz src-99ab63b69dc1ba2a1a2ee26b71328b7236ef9015.zip |
Change assertion to log the incorrect io_type we've got.
Notes
Notes:
svn path=/head/; revision=344318
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c index 155421fff46e..51a450619163 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c @@ -2020,7 +2020,7 @@ vdev_raidz_io_start(zio_t *zio) return; } - ASSERT(zio->io_type == ZIO_TYPE_READ); + ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); /* * Iterate over the columns in reverse order so that we hit the parity |