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 60c74c1f1ea9..32bd696b39a8 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c | |||
@@ -906,8 +906,8 @@ static void __unregister_linger_request(struct ceph_osd_client *osdc, | |||
906 | struct ceph_osd_request *req) | 906 | struct ceph_osd_request *req) |
907 | { | 907 | { |
908 | dout("__unregister_linger_request %p\n", req); | 908 | dout("__unregister_linger_request %p\n", req); |
909 | list_del_init(&req->r_linger_item); | ||
909 | if (req->r_osd) { | 910 | if (req->r_osd) { |
910 | list_del_init(&req->r_linger_item); | ||
911 | list_del_init(&req->r_linger_osd); | 911 | list_del_init(&req->r_linger_osd); |
912 | 912 | ||
913 | if (list_empty(&req->r_osd->o_requests) && | 913 | if (list_empty(&req->r_osd->o_requests) && |