diff options
| author | Jens Axboe <axboe@kernel.dk> | 2024-03-13 18:10:12 -0600 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2024-03-26 18:20:22 -0400 |
| commit | 28fe81bcd3ea932e280f04e087ff0c75a4995a46 (patch) | |
| tree | 0343d21fb84ff7b36e840f7f9489e2aab34da2d8 /io_uring/io_uring.h | |
| parent | 1d467e10507167eb6dc2c281a87675b731955d86 (diff) | |
| download | linux-28fe81bcd3ea932e280f04e087ff0c75a4995a46.tar.gz linux-28fe81bcd3ea932e280f04e087ff0c75a4995a46.tar.bz2 linux-28fe81bcd3ea932e280f04e087ff0c75a4995a46.zip | |
io_uring/unix: drop usage of io_uring socket
Commit a4104821ad651d8a0b374f0b2474c345bbb42f82 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: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'io_uring/io_uring.h')
| -rw-r--r-- | io_uring/io_uring.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/io_uring.h b/io_uring/io_uring.h index 019600570ee4..59e6f755f12c 100644 --- a/io_uring/io_uring.h +++ b/io_uring/io_uring.h @@ -52,7 +52,6 @@ static inline bool io_req_ffs_set(struct io_kiocb *req) } void __io_req_task_work_add(struct io_kiocb *req, bool allow_local); -bool io_is_uring_fops(struct file *file); bool io_alloc_async_data(struct io_kiocb *req); void io_req_task_queue(struct io_kiocb *req); void io_queue_iowq(struct io_kiocb *req, bool *dont_use); |
