]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: improve wq_list_add_tail()
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 9 Aug 2021 12:04:07 +0000 (13:04 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:07:56 +0000 (13:07 -0600)
commit4a38320a6b5868c90b61c65c04b58bf6c783381e
tree63b552b11d5811e47615329dad0075978f827df5
parent259524bac92c19d6f9eee6038a7ee64e418eb551
io-wq: improve wq_list_add_tail()

Prepare nodes that we're going to add before actually linking them, it's
always safer and costs us nothing.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f7e53f0c84c02ed6748c488ed0789b98f8cc6185.1628471125.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.h