projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d80589
)
io_uring: add timeout completion_lock annotation
author
Pavel Begunkov
<asml.silence@gmail.com>
Tue, 13 Apr 2021 01:58:41 +0000
(
02:58
+0100)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 13 Apr 2021 15:37:54 +0000
(09:37 -0600)
Add one more sparse locking annotation for readability in
io_kill_timeout().
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link:
https://lore.kernel.org/r/bdbb22026024eac29203c1aa0045c4954a2488d1.1618278933.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index
7afb2f5
..
640e26b
100644
(file)
--- a/
fs/io_uring.c
+++ b/
fs/io_uring.c
@@
-1267,6
+1267,7
@@
static void io_queue_async_work(struct io_kiocb *req)
}
static void io_kill_timeout(struct io_kiocb *req, int status)
+ __must_hold(&req->ctx->completion_lock)
{
struct io_timeout_data *io = req->async_data;
int ret;