io_uring: extract io_sendmsg_copy_hdr()
Don't repeat send msg initialisation code, it's error prone. Extract and use a helper function. Signed-off-by: NPavel Begunkov <asml.silence@gmail.com> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录