diff options
author | Brian Behlendorf <[email protected]> | 2011-02-23 15:03:30 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-02-23 15:03:30 -0800 |
commit | 99c564bc48710ff2a6edbfcad16d3c3b89773111 (patch) | |
tree | 0b71d334bb5bf4af84cd49fe11e0d404ba98bd3f /module/zfs/zfs_vnops.c | |
parent | 05ff35c602827a0f03659ec974c67b3fb5bf1c0b (diff) |
Use correct ASSERT3* variant
ASSERT3P should be used instead of ASSERT3U when comparing
pointers. Using ASSERT3U with the cast causes a compiler
warning for 32-bit builds which is fatal with --enable-debug.
Diffstat (limited to 'module/zfs/zfs_vnops.c')
-rw-r--r-- | module/zfs/zfs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c index 821ececde..e58bce472 100644 --- a/module/zfs/zfs_vnops.c +++ b/module/zfs/zfs_vnops.c @@ -2488,7 +2488,7 @@ top: SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MODE(zsb), NULL, &new_mode, sizeof (new_mode)); zp->z_mode = new_mode; - ASSERT3U((uintptr_t)aclp, !=, NULL); + ASSERT3P(aclp, !=, NULL); err = zfs_aclset_common(zp, aclp, cr, tx); ASSERT3U(err, ==, 0); if (zp->z_acl_cached) |