io_uring: clean *local_work_add var naming
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 17 Jan 2024 00:57:28 +0000 (00:57 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 17 Jan 2024 16:45:24 +0000 (09:45 -0700)
commite8c407717b4814dac5641d93cbbbb9fc394f7cf0
treee81a08697ed01dd070a6d565ef4e8772bb13db5d
parentd381099f980b5f6c3c7e150baf13b0aaefc66c29
io_uring: clean *local_work_add var naming

if (!first) { ... }

While it reads as do something if it's not the first entry, it does
exactly the opposite because "first" here is a pointer to the first
entry. Remove the confusion by renaming it into "head".

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/3b8be483b52f58a524185bb88694b8a268e7e85d.1705438669.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c