diff options
-rw-r--r-- | net/ceph/osd_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index 7ebfe13267e6..ac7be7202faa 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c | |||
@@ -871,9 +871,9 @@ static void __unregister_request(struct ceph_osd_client *osdc, | |||
871 | req->r_osd = NULL; | 871 | req->r_osd = NULL; |
872 | } | 872 | } |
873 | 873 | ||
874 | list_del_init(&req->r_req_lru_item); | ||
874 | ceph_osdc_put_request(req); | 875 | ceph_osdc_put_request(req); |
875 | 876 | ||
876 | list_del_init(&req->r_req_lru_item); | ||
877 | if (osdc->num_requests == 0) { | 877 | if (osdc->num_requests == 0) { |
878 | dout(" no requests, canceling timeout\n"); | 878 | dout(" no requests, canceling timeout\n"); |
879 | __cancel_osd_timeout(osdc); | 879 | __cancel_osd_timeout(osdc); |