|
@@ -2522,9 +2522,9 @@ static struct ceph_msg *get_reply(struct ceph_connection *con,
|
|
|
req->r_reply, req->r_reply->con);
|
|
|
ceph_msg_revoke_incoming(req->r_reply);
|
|
|
|
|
|
- if (front_len > req->r_reply->front.iov_len) {
|
|
|
+ if (front_len > req->r_reply->front_alloc_len) {
|
|
|
pr_warning("get_reply front %d > preallocated %d (%u#%llu)\n",
|
|
|
- front_len, (int)req->r_reply->front.iov_len,
|
|
|
+ front_len, req->r_reply->front_alloc_len,
|
|
|
(unsigned int)con->peer_name.type,
|
|
|
le64_to_cpu(con->peer_name.num));
|
|
|
m = ceph_msg_new(CEPH_MSG_OSD_OPREPLY, front_len, GFP_NOFS,
|