io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF
authorEugene Syromiatnikov <esyr@redhat.com>
Wed, 6 Apr 2022 11:55:33 +0000 (13:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 18:59:22 +0000 (20:59 +0200)
commitfe223dd2f18b30dea66cee1174908a934e942e33
treea0e0e6a27be53b81ebe4efe78a7dc36c8eddc862
parentae6cba337cbfda855b028f1e6ae83c22de4f5212
io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF

commit 0f5e4b83b37a96e3643951588ed7176b9b187c0a upstream.

Similarly to the way it is done im mbind syscall.

Cc: stable@vger.kernel.org # 5.14
Fixes: fe76421d1da1dcdb ("io_uring: allow user configurable IO thread CPU affinity")
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/io_uring.c