RDMA/mlx4: Avoid flush_scheduled_work() usage
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fri, 6 May 2022 13:50:13 +0000 (22:50 +0900)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 20 May 2022 14:21:00 +0000 (11:21 -0300)
commit9cf62d91e4b78d8165e68aab3f8041b6bc3a0874
tree01b136a3d86f52a6cf3a6d1f0bbcd28915290330
parent549f39a58acfe4752c02dc3151df79292de1f3df
RDMA/mlx4: Avoid flush_scheduled_work() usage

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

Link: https://lore.kernel.org/r/22f7183b-cc16-5a34-e879-7605f5efc6e6@I-love.SAKURA.ne.jp
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx4/cm.c
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h