OSDN Git Service

io_uring: simplify apoll hash removal
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 9 Apr 2021 08:13:21 +0000 (09:13 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Apr 2021 01:30:40 +0000 (19:30 -0600)
commit0ea13b448ee75ef0c68c18d207f6c488f143e725
tree691752de87c2e3a5adc2a01ad3b6db401fa6466e
parente27414bef7b4f25f4569401e42bc68d9fdfc3125
io_uring: simplify apoll hash removal

hash_del() works well with non-hashed nodes, there's no need to check
if it is hashed first.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c