io_uring: refactor compat_msghdr import
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 11 Apr 2021 00:46:30 +0000 (01:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Apr 2021 01:30:41 +0000 (19:30 -0600)
commit4af3417a347d06c8632346a6a9035c28b1dd94b4
tree46407f67af39d93a87800a98d6373b609c73a431
parent0bdf3398b06ef1082b7d796039d34fc61a1285ea
io_uring: refactor compat_msghdr import

Add an entry for user pointer to compat_msghdr into io_connect, so it's
explicit that we may use it as this, and removes annoying casts.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/73fd644dea1518f528d3648981cf777ce6e537e9.1618101759.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c