summaryrefslogtreecommitdiff
path: root/include/linux/io_uring_types.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-02-17 18:27:23 +0300
committerJens Axboe <axboe@kernel.dk>2023-02-22 19:57:23 +0300
commit8d664282a03fec09682f10252d3c785c2513691d (patch)
tree3111af79c32cf40d67591bcc6819ad1666f5934f /include/linux/io_uring_types.h
parentce8e04f6e5d3b2d14cd00cc4c0b1cc8cbdcf4d12 (diff)
downloadlinux-8d664282a03fec09682f10252d3c785c2513691d.tar.xz
io_uring: rename 'in_idle' to 'in_cancel'
This better describes what it does - it's incremented when the task is currently undergoing a cancelation operation, due to exiting or exec'ing. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/io_uring_types.h')
-rw-r--r--include/linux/io_uring_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/io_uring_types.h b/include/linux/io_uring_types.h
index 0efe4d784358..00689c12f6ab 100644
--- a/include/linux/io_uring_types.h
+++ b/include/linux/io_uring_types.h
@@ -58,7 +58,7 @@ struct io_uring_task {
struct xarray xa;
struct wait_queue_head wait;
- atomic_t in_idle;
+ atomic_t in_cancel;
atomic_t inflight_tracked;
struct percpu_counter inflight;