Commit bcd646f0 authored by Jens Axboe's avatar Jens Axboe Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: io_uring/unix: drop usage of io_uring socket



Commit a4104821 upstream.

Since we no longer allow sending io_uring fds over SCM_RIGHTS, move to
using io_is_uring_fops() to detect whether this is a io_uring fd or not.
With that done, kill off io_uring_get_socket() as nobody calls it
anymore.

This is in preparation to yanking out the rest of the core related to
unix gc with io_uring.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>

Bug: 333426474
Change-Id: Id31cde3c5604ca76bc02eab64bac5954842dfb42
(cherry picked from commit 303c0a13)
Signed-off-by: default avatarZhipeng Wang <zhipeng.wang_1@nxp.com>
parent ac78cd5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment