From e8b3bfe9bc651acd0338b331fcee3aaafb27caeb Mon Sep 17 00:00:00 2001 From: Long Li Date: Fri, 5 Apr 2019 21:36:31 +0000 Subject: cifs: smbd: Don't destroy transport on RDMA disconnect Now upper layer is handling the transport shutdown and reconnect, remove the code that handling transport shutdown on RDMA disconnect. Signed-off-by: Long Li Signed-off-by: Steve French --- fs/cifs/smbdirect.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'fs/cifs/smbdirect.h') diff --git a/fs/cifs/smbdirect.h b/fs/cifs/smbdirect.h index 73cc923b953c..a3c7b3d0561e 100644 --- a/fs/cifs/smbdirect.h +++ b/fs/cifs/smbdirect.h @@ -70,13 +70,11 @@ struct smbd_connection { int ri_rc; struct completion ri_done; wait_queue_head_t conn_wait; - wait_queue_head_t wait_destroy; wait_queue_head_t disconn_wait; struct completion negotiate_completion; bool negotiate_done; - struct work_struct destroy_work; struct work_struct disconnect_work; struct work_struct recv_done_work; struct work_struct post_send_credits_work; @@ -124,13 +122,6 @@ struct smbd_connection { wait_queue_head_t wait_for_mr_cleanup; /* Activity accoutning */ - /* Pending reqeusts issued from upper layer */ - int smbd_send_pending; - wait_queue_head_t wait_smbd_send_pending; - - int smbd_recv_pending; - wait_queue_head_t wait_smbd_recv_pending; - atomic_t send_pending; wait_queue_head_t wait_send_pending; atomic_t send_payload_pending; -- cgit v1.2.3