Author: mav
Date: Tue Jun 11 13:44:19 2019
New Revision: 348904
URL: https://svnweb.freebsd.org/changeset/base/348904

Log:
  MFC r344318 (by pjd): Change assertion to log the incorrect io_type we've got.

Modified:
  stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c
==============================================================================
--- stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c       
Tue Jun 11 13:40:27 2019        (r348903)
+++ stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c       
Tue Jun 11 13:44:19 2019        (r348904)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to