summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_main.c
diff options
context:
space:
mode:
authorRoland Kammerer <roland.kammerer@linbit.com>2017-08-29 10:20:48 +0200
committerJens Axboe <axboe@kernel.dk>2017-08-29 15:34:46 -0600
commit365cf663b64791e341f425385c7ae152327c7009 (patch)
tree240e25c55c0cdee8c6eb1a44583dce25b228d731 /drivers/block/drbd/drbd_main.c
parentd3d2948f4353300e483e03be3f400dc07cf504ce (diff)
downloadlinux-365cf663b64791e341f425385c7ae152327c7009.tar.bz2
drbd: switch from kmalloc() to kmalloc_array()
We had one call to kmalloc that actually allocates an array. Switch that one to the kmalloc_array() function. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
0 files changed, 0 insertions, 0 deletions