io_uring: de-unionise io_kiocb
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 30 Jul 2020 15:43:45 +0000 (18:43 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 30 Jul 2020 17:42:21 +0000 (11:42 -0600)
commit010e8e6be2194678f7e4bb3044c088bbee779f57
treebb52ff11ad0b7f7e7d1d28773ac7cca9a5e037b4
parentb089ed390b5c9bc248a32168709cfa01099caf9d
io_uring: de-unionise io_kiocb

As io_kiocb have enough space, move ->work out of a union. It's safer
this way and removes ->work memcpy bouncing.
By the way make tabulation in struct io_kiocb consistent.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c