IB/isert: Avoid flush_scheduled_work() usage
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Thu, 5 May 2022 06:07:25 +0000 (15:07 +0900)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 20 May 2022 14:05:42 +0000 (11:05 -0300)
commit549f39a58acfe4752c02dc3151df79292de1f3df
treecfca7eed4d7057b58964263d2c9e9772292e5767
parent988d74deaa46a9c63d2061c270692d6e6192c6c1
IB/isert: Avoid flush_scheduled_work() usage

Flushing system-wide workqueues is dangerous and will be forbidden.
Replace system_wq with local isert_login_wq.

Link: https://lore.kernel.org/r/fbe5e9a8-0110-0c22-b7d6-74d53948d042@I-love.SAKURA.ne.jp
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/isert/ib_isert.c