summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/ceph/osd_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index 943dba916ab1..89d7d8861d80 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -1221,7 +1221,7 @@ static void __unregister_request(struct ceph_osd_client *osdc,
list_del_init(&req->r_osd_item);
maybe_move_osd_to_lru(osdc, req->r_osd);
- if (list_empty(&req->r_linger_item))
+ if (list_empty(&req->r_linger_osd_item))
req->r_osd = NULL;
}