return NULL;
}
-static void smb_direct_disconnect_wake_up_all(struct smbdirect_socket *sc)
-{
- /*
- * Wake up all waiters in all wait queues
- * in order to notice the broken connection.
- */
- wake_up_all(&sc->status_wait);
- wake_up_all(&sc->send_io.bcredits.wait_queue);
- wake_up_all(&sc->send_io.lcredits.wait_queue);
- wake_up_all(&sc->send_io.credits.wait_queue);
- wake_up_all(&sc->send_io.pending.zero_wait_queue);
- wake_up_all(&sc->recv_io.reassembly.wait_queue);
- wake_up_all(&sc->rw_io.credits.wait_queue);
-}
-
static void smb_direct_disconnect_rdma_work(struct work_struct *work)
{
struct smbdirect_socket *sc =
* Wake up all waiters in all wait queues
* in order to notice the broken connection.
*/
- smb_direct_disconnect_wake_up_all(sc);
+ smbdirect_socket_wake_up_all(sc);
}
static void
* Wake up all waiters in all wait queues
* in order to notice the broken connection.
*/
- smb_direct_disconnect_wake_up_all(sc);
+ smbdirect_socket_wake_up_all(sc);
queue_work(sc->workqueue, &sc->disconnect_work);
}
* Most likely this was already called via
* smb_direct_disconnect_rdma_work(), but call it again...
*/
- smb_direct_disconnect_wake_up_all(sc);
+ smbdirect_socket_wake_up_all(sc);
disable_work_sync(&sc->connect.work);
disable_work_sync(&sc->recv_io.posted.refill_work);