io_uring: use kmemdup instead of kmalloc and memcpy
authorJackie Liu <liuyun01@kylinos.cn>
Wed, 18 Sep 2019 02:37:52 +0000 (10:37 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Sep 2019 17:19:06 +0000 (11:19 -0600)
commit954dab193d19cbbff8f83b58c9360bf00ddb273c
tree106599064e4defb8e95eb3a4e78695a0f4082566
parent5277deaab9f98229bdfb8d1e30019b6c25052708
io_uring: use kmemdup instead of kmalloc and memcpy

Just clean up the code, no function changes.

Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c