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>
This commit is contained in:
Jackie Liu 2019-09-18 10:37:52 +08:00 • committed by Jens Axboe
commit 954dab193d