Fix minor compiler warnings

These compiler warnings were introduced when code which was
previously #ifdef'ed out by HAVE_ZPL was re-added for use
by the posix layer.  All of the following changes should be
obviously correct and will cause no semantic changes.
This commit is contained in:
Brian Behlendorf
2010-12-16 14:05:42 -08:00
parent 683fe41fc7
commit 149e873ab1
8 changed files with 68 additions and 65 deletions
+1 -1
View File
@@ -1000,7 +1000,7 @@ zfs_mknode(znode_t *dzp, vattr_t *vap, dmu_tx_t *tx, cred_t *cr,
if (obj_type == DMU_OT_ZNODE ||
acl_ids->z_aclp->z_version < ZFS_ACL_VERSION_FUID) {
err = zfs_aclset_common(*zpp, acl_ids->z_aclp, cr, tx);
ASSERT3P(err, ==, 0);
ASSERT3S(err, ==, 0);
}
ZFS_OBJ_HOLD_EXIT(zfsvfs, obj);
}