aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/transport.c')
-rw-r--r--fs/cifs/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c
index 1996d6ceb833..6fdcb1b4a106 100644
--- a/fs/cifs/transport.c
+++ b/fs/cifs/transport.c
@@ -447,7 +447,7 @@ wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *midQ)
447{ 447{
448 int error; 448 int error;
449 449
450 error = wait_event_freezekillable(server->response_q, 450 error = wait_event_freezekillable_unsafe(server->response_q,
451 midQ->mid_state != MID_REQUEST_SUBMITTED); 451 midQ->mid_state != MID_REQUEST_SUBMITTED);
452 if (error < 0) 452 if (error < 0)
453 return -ERESTARTSYS; 453 return -ERESTARTSYS;