io_uring: deduplicate NOSIGNAL setting
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 1 Apr 2021 14:44:00 +0000 (15:44 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Apr 2021 01:30:35 +0000 (19:30 -0600)
commit044118069a23fdfb31677631cfdfc5e33b488752
tree15d2f5648083fb03f953665cd24b55fde0300951
parentdf9727affa058f4f18e388b30247650f8ae13cd8
io_uring: deduplicate NOSIGNAL setting

Set MSG_NOSIGNAL and REQ_F_NOWAIT in send/recv prep routines and don't
duplicate it in all four send/recv handlers.

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