diff --git a/fs/io_uring.c b/fs/io_uring.c index fd8a1ffe6a1a2025cf67d476dacdb538f64b921f..e6d8cafdd28e6a3909626202e6c039cfcae07b68 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -8035,8 +8035,8 @@ static int io_files_update_with_index_alloc(struct io_kiocb *req, if (ret < 0) break; if (copy_to_user(&fds[done], &ret, sizeof(ret))) { - ret = -EFAULT; __io_close_fixed(req, issue_flags, ret); + ret = -EFAULT; break; } }