io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF
BugLink: https://bugs.launchpad.net/bugs/1969107
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>
(cherry picked from commit
fe223dd2f18b30dea66cee1174908a934e942e33)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>