Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (27 sloc) 939 Bytes
From 0fcbf3f3ac6fcb39118a859640e34ce7561e30b2 Mon Sep 17 00:00:00 2001
From: Piotr Gorski <lucjan.lucjanov@gmail.com>
Date: Wed, 16 Oct 2019 16:24:03 +0200
Subject: [PATCH] Revert "io_uring: only flush workqueues on fileset removal"
This reverts commit 4e3ecf02713b5458d266224833e40d55ceec25f0.
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
---
fs/io_uring.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/fs/io_uring.c b/fs/io_uring.c
index 547913d84994..06d048341fa4 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -2565,12 +2565,8 @@ static void io_finish_async(struct io_ring_ctx *ctx)
static void io_destruct_skb(struct sk_buff *skb)
{
struct io_ring_ctx *ctx = skb->sk->sk_user_data;
- int i;
-
- for (i = 0; i < ARRAY_SIZE(ctx->sqo_wq); i++)
- if (ctx->sqo_wq[i])
- flush_workqueue(ctx->sqo_wq[i]);
+ io_finish_async(ctx);
unix_destruct_scm(skb);
}
--
2.23.0.606.g08da6496b6
You can’t perform that action at this time.