summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2023-06-24 00:14:43 +0300
committerDavid Sterba <dsterba@suse.com>2023-08-21 15:52:11 +0300
commit07a3bb95ea1f7fa77e360cf3b0f06dff41dbf391 (patch)
treed75c17db58a31d12e5efc6bacf8397bae96a3718 /fs/btrfs/dev-replace.c
parent706a741595047797872e669b3101429ab8d378ef (diff)
downloadlinux-07a3bb95ea1f7fa77e360cf3b0f06dff41dbf391.tar.xz
btrfs: zoned: use vcalloc instead of for vzalloc in btrfs_get_dev_zone_info
Use vcalloc that checks potential multiplication overflows. The changes were done using Coccinelle semantic patch. Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions