summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2026-04-08 20:56:02 +0300
committerJens Axboe <axboe@kernel.dk>2026-04-08 22:21:35 +0300
commitc5e9f6a96bf7379da87df1b852b90527e242b56f (patch)
treeaa198f4752e181ef0ceacf264890255e57cc3db8 /include/linux
parentb4d893d636f435701f025e43146d0a4b9a065102 (diff)
downloadlinux-c5e9f6a96bf7379da87df1b852b90527e242b56f.tar.xz
io_uring: unify getting ctx from passed in file descriptor
io_uring_enter() and io_uring_register() end up having duplicated code for getting a ctx from a passed in file descriptor, for either a registered ring descriptor or a normal file descriptor. Move the io_uring_register_get_file() into io_uring.c and name it a bit more generically, and use it from both callsites rather than have that logic and handling duplicated. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions