]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07c83e4b0811295066726b7808a41df9f51bef12
treee34750ce64e21d96652e574e74fd1bb88ffac146
parent364272e254b57031022e2d7a98ada1a7268ca940
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