Mercurial > illumos > illumos-gate
diff usr/src/uts/common/fs/zfs/zfs_vfsops.c @ 13805:e3a9ae14a119
3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero
Reviewed by Matt Ahrens <matthew.ahrens@delphix.com>
Reviewed by George Wilson <george.wilson@delphix.com>
Approved by Eric Schrock <eric.schrock@delphix.com>
author | Madhav Suresh <madhav.suresh@delphix.com> |
---|---|
date | Fri, 07 Sep 2012 07:19:55 -0700 |
parents | 6da32a929222 |
children | eea81edc4f14 |
line wrap: on
line diff
--- a/usr/src/uts/common/fs/zfs/zfs_vfsops.c Fri Sep 07 01:52:31 2012 +0100 +++ b/usr/src/uts/common/fs/zfs/zfs_vfsops.c Fri Sep 07 07:19:55 2012 -0700 @@ -2243,7 +2243,7 @@ error = zap_add(os, MASTER_NODE_OBJ, ZFS_SA_ATTRS, 8, 1, &sa_obj, tx); - ASSERT3U(error, ==, 0); + ASSERT0(error); VERIFY(0 == sa_set_sa_object(os, sa_obj)); sa_register_update_callback(os, zfs_sa_upgrade);