From 7e4d07648e2d0c8f3b4e4bd013accd83bedca183 Mon Sep 17 00:00:00 2001 From: Pavel Begunkov Date: Thu, 15 Apr 2021 17:36:37 +0800 Subject: [PATCH] io_uring: remove unused struct io_async_open mainline inclusion from mainline-5.6-rc2 commit e96e977992d0ea40b6e70cb63dede85c9078e744 category: feature bugzilla: https://bugzilla.openeuler.org/show_bug.cgi?id=27 CVE: NA --------------------------- struct io_async_open is unused, remove it. Signed-off-by: Pavel Begunkov Signed-off-by: Jens Axboe Signed-off-by: yangerkun Reviewed-by: zhangyi (F) Signed-off-by: Cheng Jian --- fs/io_uring.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fs/io_uring.c b/fs/io_uring.c index d248b8c9ab14..f1fd5f7750e0 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -451,17 +451,12 @@ struct io_async_rw { ssize_t size; }; -struct io_async_open { - struct filename *filename; -}; - struct io_async_ctx { union { struct io_async_rw rw; struct io_async_msghdr msg; struct io_async_connect connect; struct io_timeout_data timeout; - struct io_async_open open; }; }; -- GitLab