Skip to content

Commit

Permalink
fixup: apply changes to Linux, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Sep 6, 2024
1 parent 1874b9c commit 94dec92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/os/linux/zfs/zfs_acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ zfs_acl_node_alloc(size_t bytes)

aclnode = kmem_zalloc(sizeof (zfs_acl_node_t), KM_SLEEP);
if (bytes) {
aclnode->z_acldata = kmem_alloc(bytes, KM_SLEEP);
aclnode->z_acldata = kmem_zalloc(bytes, KM_SLEEP);
aclnode->z_allocdata = aclnode->z_acldata;
aclnode->z_allocsize = bytes;
aclnode->z_size = bytes;
Expand Down

0 comments on commit 94dec92

Please sign in to comment.