diff options
-rw-r--r-- | fs/ceph/osd_client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/osd_client.c b/fs/ceph/osd_client.c index b474b3ad61f..a1800fb6323 100644 --- a/fs/ceph/osd_client.c +++ b/fs/ceph/osd_client.c | |||
@@ -1071,8 +1071,9 @@ int ceph_osdc_wait_request(struct ceph_osd_client *osdc, | |||
1071 | if (rc < 0) { | 1071 | if (rc < 0) { |
1072 | mutex_lock(&osdc->request_mutex); | 1072 | mutex_lock(&osdc->request_mutex); |
1073 | __cancel_request(req); | 1073 | __cancel_request(req); |
1074 | __unregister_request(osdc, req); | ||
1074 | mutex_unlock(&osdc->request_mutex); | 1075 | mutex_unlock(&osdc->request_mutex); |
1075 | dout("wait_request tid %llu timed out\n", req->r_tid); | 1076 | dout("wait_request tid %llu canceled/timed out\n", req->r_tid); |
1076 | return rc; | 1077 | return rc; |
1077 | } | 1078 | } |
1078 | 1079 | ||