aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/zfs_vnops.c')
-rw-r--r--module/zfs/zfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c
index 1f78b8cee..3b7c52b8d 100644
--- a/module/zfs/zfs_vnops.c
+++ b/module/zfs/zfs_vnops.c
@@ -472,7 +472,7 @@ zfs_write(znode_t *zp, uio_t *uio, int ioflag, cred_t *cr)
dmu_return_arcbuf(abuf);
break;
}
- ASSERT(cbytes == max_blksz);
+ ASSERT3S(cbytes, ==, max_blksz);
}
/*
@@ -652,7 +652,7 @@ zfs_write(znode_t *zp, uio_t *uio, int ioflag, cred_t *cr)
if (error != 0)
break;
- ASSERT(tx_bytes == nbytes);
+ ASSERT3S(tx_bytes, ==, nbytes);
n -= nbytes;
if (n > 0) {