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>
Sun, 4 Apr 2021 21:28:42 +0000 (15:28 -0600)
commit9a816b12d54634db5173ce874184f6dda13b1bbc
tree341d290883d22aadae7ee71078b9e5d92fd69505
parent11e57c4cb4666454064f9113a6893bf2aa225b9b
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