Target/iser: Wait for proper cleanup before unloading
authorSagi Grimberg <sagig@mellanox.com>
Mon, 19 May 2014 14:44:25 +0000 (17:44 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 20 May 2014 18:18:43 +0000 (11:18 -0700)
commitf5ebec9629cf78eeeea4b8258882a9f439ab2404
tree3f477694b5110597484c8442eee59e014469a2fe
parent88c4015fda6d014392f76d3b1688347950d7a12d
Target/iser: Wait for proper cleanup before unloading

disconnected_handler works are scheduled on system_wq.
When attempting to unload, first make sure all works
have cleaned up.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c