diff --git a/fs/io_uring.c b/fs/io_uring.c index f448264a1067..dc75c43bc9b2 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -5805,8 +5805,8 @@ static int io_accept(struct io_kiocb *req, unsigned int issue_flags) fd_install(fd, file); ret = fd; } else { - ret = io_install_fixed_file(req, file, issue_flags, - accept->file_slot - 1); + ret = io_fixed_fd_install(req, issue_flags, file, + accept->file_slot); } __io_req_complete(req, issue_flags, ret, 0); return 0;