diff --git a/fs/ceph/osd_client.c b/fs/ceph/osd_client.c index dbe63db9762fc11048bbe5f3bcb37e0aad7f3e2c..221038253e61c70a098532f4e590ce8edbea89e6 100644 --- a/fs/ceph/osd_client.c +++ b/fs/ceph/osd_client.c @@ -913,7 +913,7 @@ static int __kick_requests(struct ceph_osd_client *osdc, kick: dout("kicking %p tid %llu osd%d\n", req, req->r_tid, - req->r_osd->o_osd); + req->r_osd ? req->r_osd->o_osd : -1); req->r_flags |= CEPH_OSD_FLAG_RETRY; err = __send_request(osdc, req); if (err) {