diff --git a/module/zfs/zfs_acl.c b/module/zfs/zfs_acl.c index db6331ea5..8ab5abe81 100644 --- a/module/zfs/zfs_acl.c +++ b/module/zfs/zfs_acl.c @@ -1056,8 +1056,8 @@ zfs_acl_node_read(znode_t *zp, boolean_t have_lock, zfs_acl_t **aclpp, boolean_t will_modify) { zfs_acl_t *aclp; - int aclsize; - int acl_count; + int aclsize = 0; + int acl_count = 0; zfs_acl_node_t *aclnode; zfs_acl_phys_t znode_acl; int version;