diff options
Diffstat (limited to 'net/ceph/osd_client.c')
-rw-r--r-- | net/ceph/osd_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index 7619c37bfed4..733195170490 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c | |||
@@ -2522,9 +2522,9 @@ static struct ceph_msg *get_reply(struct ceph_connection *con, | |||
2522 | req->r_reply, req->r_reply->con); | 2522 | req->r_reply, req->r_reply->con); |
2523 | ceph_msg_revoke_incoming(req->r_reply); | 2523 | ceph_msg_revoke_incoming(req->r_reply); |
2524 | 2524 | ||
2525 | if (front_len > req->r_reply->front.iov_len) { | 2525 | if (front_len > req->r_reply->front_alloc_len) { |
2526 | pr_warning("get_reply front %d > preallocated %d (%u#%llu)\n", | 2526 | pr_warning("get_reply front %d > preallocated %d (%u#%llu)\n", |
2527 | front_len, (int)req->r_reply->front.iov_len, | 2527 | front_len, req->r_reply->front_alloc_len, |
2528 | (unsigned int)con->peer_name.type, | 2528 | (unsigned int)con->peer_name.type, |
2529 | le64_to_cpu(con->peer_name.num)); | 2529 | le64_to_cpu(con->peer_name.num)); |
2530 | m = ceph_msg_new(CEPH_MSG_OSD_OPREPLY, front_len, GFP_NOFS, | 2530 | m = ceph_msg_new(CEPH_MSG_OSD_OPREPLY, front_len, GFP_NOFS, |