summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-09-26 20:37:46 +0200
committerJens Axboe <axboe@kernel.dk>2020-10-01 04:32:34 +0200
commit145cc8c665f406cc189cfcf15a9875689e2c73b8 (patch)
tree13556e990f865d66e571f0e1721653a8d2bc38c1 /fs
parentio-wq: fix use-after-free in io_wq_worker_running (diff)
downloadlinux-145cc8c665f406cc189cfcf15a9875689e2c73b8.tar.xz
linux-145cc8c665f406cc189cfcf15a9875689e2c73b8.zip
io-wq: kill unused IO_WORKER_F_EXITING
This flag is no longer used, remove it. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
-rw-r--r--fs/io-wq.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/io-wq.c b/fs/io-wq.c
index 98f9c74b25d2..0a182f1333e8 100644
--- a/fs/io-wq.c
+++ b/fs/io-wq.c
@@ -27,9 +27,8 @@ enum {
IO_WORKER_F_UP = 1, /* up and active */
IO_WORKER_F_RUNNING = 2, /* account as running */
IO_WORKER_F_FREE = 4, /* worker on free list */
- IO_WORKER_F_EXITING = 8, /* worker exiting */
- IO_WORKER_F_FIXED = 16, /* static idle worker */
- IO_WORKER_F_BOUND = 32, /* is doing bounded work */
+ IO_WORKER_F_FIXED = 8, /* static idle worker */
+ IO_WORKER_F_BOUND = 16, /* is doing bounded work */
};
enum {