io-wq: re-add io_wq_current_is_worker()
authorJens Axboe <axboe@kernel.dk>
Tue, 17 Dec 2019 21:13:37 +0000 (14:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Dec 2019 02:57:20 +0000 (19:57 -0700)
commit525b305d61ede489ce2118b000a5dabd6d869dac
tree30f31d11a9818a23fb6cd5ea08467c216a5ec797
parent0b416c3e1345fd696db4c422643468d844410877
io-wq: re-add io_wq_current_is_worker()

This reverts commit 8cdda87a4414, we now have several use csaes for this
helper. Reinstate it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.h