io_uring: use kzalloc instead of kcalloc for single-element allocations
authorJann Horn <jannh@google.com>
Tue, 26 Nov 2019 16:39:45 +0000 (17:39 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Nov 2019 22:02:56 +0000 (15:02 -0700)
commitad6e005ca68de7af76f9ed3e4c9b6f0aa2f842e3
treee34750ce64e21d96652e574e74fd1bb88ffac146
parent7d009165550adc64e3561c65ecce564125052e00
io_uring: use kzalloc instead of kcalloc for single-element allocations

These allocations are single-element allocations, so don't use the array
allocation wrapper for them.

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c